Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001248, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.701/2.701, allocations: 409.2 MB / 0.6838 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003519, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6162/0.6166, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1525/0.7691, allocations: 135.7 MB / 1.113 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003057/0.7722, allocations: 1.678 MB / 1.115 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.7726, allocations: 11.88 kB / 1.115 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007227/0.7734, allocations: 183.2 kB / 1.115 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.7751, allocations: 0.4985 MB / 1.116 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.7765, allocations: 407.4 kB / 1.116 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002224/0.7788, allocations: 1.497 MB / 1.118 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.7801, allocations: 0.6956 MB / 1.118 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.7818, allocations: 0.6968 MB / 1.119 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005839/0.7824, allocations: 493.8 kB / 1.119 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.02e-05/0.7825, allocations: 32 kB / 1.119 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009911/0.7835, allocations: 423.4 kB / 1.12 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.7837, allocations: 255.1 kB / 1.12 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.784, allocations: 233.1 kB / 1.12 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.785, allocations: 0.9704 MB / 1.121 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.7851, allocations: 0 / 1.121 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7851, allocations: 0 / 1.121 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.7851, allocations: 0 / 1.121 GB, free: 6.199 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00221/0.7873, allocations: 1.284 MB / 1.122 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.7874, allocations: 11.97 kB / 1.122 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.7875, allocations: 102.5 kB / 1.123 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007159/0.7882, allocations: 186.4 kB / 1.123 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.7896, allocations: 0.7924 MB / 1.124 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.7897, allocations: 41 kB / 1.124 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-05/0.7898, allocations: 68 kB / 1.124 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.791, allocations: 0.7888 MB / 1.124 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.7911, allocations: 7.938 kB / 1.124 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.7911, allocations: 27.94 kB / 1.124 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.7911, allocations: 19.95 kB / 1.124 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.7923, allocations: 0.5383 MB / 1.125 GB, free: 2.137 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004751/0.7971, allocations: 4.591 MB / 1.129 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/0.7978, allocations: 442.4 kB / 1.13 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.563e-05/0.7979, allocations: 19.94 kB / 1.13 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005064/0.7984, allocations: 302.2 kB / 1.13 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.7984, allocations: 0 / 1.13 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31): time 0.00148/0.7999, allocations: 0.6501 MB / 1.131 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.8, allocations: 110.8 kB / 1.131 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.8013, allocations: 1.11 MB / 1.132 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.8013, allocations: 33.7 kB / 1.132 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.8017, allocations: 496.1 kB / 1.133 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.272e-05/0.8018, allocations: 114.5 kB / 1.133 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.8018, allocations: 8 kB / 1.133 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.8019, allocations: 326 kB / 1.133 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.8023, allocations: 184.7 kB / 1.133 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.8028, allocations: 0.4979 MB / 1.134 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.8033, allocations: 286.3 kB / 1.134 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.8033, allocations: 4 kB / 1.134 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001027/0.8043, allocations: 0.6738 MB / 1.135 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007328/0.805, allocations: 2.132 MB / 1.137 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.8051, allocations: 8 kB / 1.137 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.8051, allocations: 12 kB / 1.137 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.8069, allocations: 383.5 kB / 1.137 GB, free: 5.004 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/0.8101, allocations: 6.091 MB / 1.143 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007909/0.8109, allocations: 115.3 kB / 1.143 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.8109, allocations: 24 kB / 1.143 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.8109, allocations: 4 kB / 1.143 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008639/0.8118, allocations: 0.534 MB / 1.144 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.8118, allocations: 12.59 kB / 1.144 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.8118, allocations: 8.094 kB / 1.144 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.8124, allocations: 159.8 kB / 1.144 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.8124, allocations: 15.92 kB / 1.144 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/0.813, allocations: 99.52 kB / 1.144 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.8131, allocations: 27.98 kB / 1.144 GB, free: 13.68 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005251/0.8136, allocations: 477.9 kB / 1.144 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.8137, allocations: 98.78 kB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008361/0.8146, allocations: 483.6 kB / 1.145 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.8146, allocations: 4 kB / 1.145 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8146, allocations: 0 / 1.145 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.8146, allocations: 4 kB / 1.145 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.816, allocations: 1.095 MB / 1.146 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8161, allocations: 4 kB / 1.146 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/0.8167, allocations: 147.8 kB / 1.146 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.8167, allocations: 7.953 kB / 1.146 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.8167, allocations: 8 kB / 1.146 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/0.8195, allocations: 6.025 MB / 1.152 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.8195, allocations: 7.969 kB / 1.152 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.8203, allocations: 0.6263 MB / 1.153 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.8207, allocations: 219.8 kB / 1.153 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.8209, allocations: 8 kB / 1.153 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.8213, allocations: 59.8 kB / 1.153 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.8214, allocations: 43.84 kB / 1.153 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.8214, allocations: 12 kB / 1.153 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009904/0.8224, allocations: 0.7875 MB / 1.154 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8224, allocations: 0 / 1.154 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001156/0.8236, allocations: 407.4 kB / 1.154 GB, free: 2.758 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001668/0.8253, allocations: 1.722 MB / 1.156 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002995/0.8283, allocations: 1.101 MB / 1.157 GB, free: 15.84 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8283, allocations: 0 / 1.157 GB, free: 15.84 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007797/0.8291, allocations: 300.8 kB / 1.157 GB, free: 15.55 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.8309, allocations: 454.6 kB / 1.158 GB, free: 15.11 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.8424, allocations: 9.615 MB / 1.167 GB, free: 5.184 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006922/0.8431, allocations: 1.2 MB / 1.168 GB, free: 3.953 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001005/0.8441, allocations: 371.5 kB / 1.169 GB, free: 3.586 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/0.8445, allocations: 315.3 kB / 1.169 GB, free: 3.277 MB / 0.92 GB Notification: Performance of SimCode: time 6.51e-07/0.8445, allocations: 4 kB / 1.169 GB, free: 3.273 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.549/3.393, allocations: 26.37 MB / 1.195 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/3.394, allocations: 259.1 kB / 1.195 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/5.814, allocations: 0 / 1.195 GB, free: 8.949 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat does not exist to compare? outputFormat=mat