Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.001065/0.001065, allocations: 98.92 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.001246/0.001246, 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.301/1.301, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.079/2.079, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.000264, allocations: 12 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4825, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1278/0.6104, allocations: 140.5 MB / 1.118 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004037/0.6145, allocations: 3.595 MB / 1.122 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.6147, allocations: 15.94 kB / 1.122 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005626/0.6153, allocations: 234.9 kB / 1.122 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.6166, allocations: 0.7011 MB / 1.122 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.6176, allocations: 490.1 kB / 1.123 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001683/0.6193, allocations: 1.65 MB / 1.125 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.6216, allocations: 2.317 MB / 1.127 GB, free: 472 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.6226, allocations: 0.8643 MB / 1.128 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000596/0.6232, allocations: 0.5992 MB / 1.128 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.233e-05/0.6233, allocations: 48 kB / 1.128 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007363/0.6241, allocations: 455.3 kB / 1.129 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.6243, allocations: 307 kB / 1.129 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.6245, allocations: 257 kB / 1.129 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000884/0.6254, allocations: 1.13 MB / 1.13 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.6254, allocations: 0 / 1.13 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6254, allocations: 0 / 1.13 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.6255, allocations: 0 / 1.13 GB, free: 12.81 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002129/0.6276, allocations: 1.499 MB / 1.132 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.6276, allocations: 16.03 kB / 1.132 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.6277, allocations: 106.4 kB / 1.132 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006626/0.6284, allocations: 194.4 kB / 1.132 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.6298, allocations: 0.8602 MB / 1.133 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.6299, allocations: 49.31 kB / 1.133 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/0.63, allocations: 79.94 kB / 1.133 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.6312, allocations: 0.9753 MB / 1.134 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.6312, allocations: 7.938 kB / 1.134 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-05/0.6313, allocations: 28 kB / 1.134 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.6313, allocations: 16 kB / 1.134 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.6324, allocations: 0.796 MB / 1.135 GB, free: 7.988 MB / 0.8887 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.003863/0.6363, allocations: 4.808 MB / 1.14 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.6384, allocations: 4.036 MB / 1.144 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.955e-05/0.6385, allocations: 24.25 kB / 1.144 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004618/0.6389, allocations: 329.8 kB / 1.144 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001605/0.6391, allocations: 27.69 kB / 1.144 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=35): time 1.483e-06/0.6391, allocations: 4 kB / 1.144 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.004572/0.6437, allocations: 1.684 MB / 1.146 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.6438, allocations: 114.8 kB / 1.146 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.6449, allocations: 1.177 MB / 1.147 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.645, allocations: 37.69 kB / 1.147 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.6453, allocations: 0.5238 MB / 1.147 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.56e-05/0.6454, allocations: 118.3 kB / 1.147 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.6455, allocations: 12 kB / 1.147 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.6456, allocations: 326 kB / 1.148 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.6459, allocations: 205 kB / 1.148 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/0.6464, allocations: 0.5332 MB / 1.148 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.6469, allocations: 317.9 kB / 1.149 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.6469, allocations: 4 kB / 1.149 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00203/0.6489, allocations: 1.08 MB / 1.15 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005643/0.6495, allocations: 2.146 MB / 1.152 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.6495, allocations: 4 kB / 1.152 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.6508, allocations: 446.2 kB / 1.152 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.6511, allocations: 71.89 kB / 1.152 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.6524, allocations: 1.128 MB / 1.154 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007521/0.6531, allocations: 99.73 kB / 1.154 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.6532, allocations: 31.95 kB / 1.154 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-06/0.6532, allocations: 0 / 1.154 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/0.6545, allocations: 0.8065 MB / 1.154 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6545, allocations: 15.92 kB / 1.154 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.655, allocations: 247.6 kB / 1.155 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.6553, allocations: 79.88 kB / 1.155 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/0.6588, allocations: 3.2 MB / 1.158 GB, free: 14.63 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.6595, allocations: 95.81 kB / 1.158 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.6595, allocations: 31.98 kB / 1.158 GB, free: 14.5 MB / 0.92 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.000411/0.66, allocations: 476.7 kB / 1.158 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.6601, allocations: 106.7 kB / 1.159 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.6613, allocations: 0.8057 MB / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.6613, allocations: 7.953 kB / 1.159 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.6613, allocations: 0 / 1.159 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6613, allocations: 4 kB / 1.159 GB, free: 13.09 MB / 0.92 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 postOpt removeSimpleEquations (simulation): time 0.002595/0.6639, allocations: 2.248 MB / 1.162 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6639, allocations: 0 / 1.162 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.6642, allocations: 52.19 kB / 1.162 GB, free: 10.65 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004319/0.6646, allocations: 238.2 kB / 1.162 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.6646, allocations: 8 kB / 1.162 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007729/0.6654, allocations: 0.9415 MB / 1.163 GB, free: 9.445 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6654, allocations: 3.938 kB / 1.163 GB, free: 9.441 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.6666, allocations: 0.9828 MB / 1.164 GB, free: 8.383 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.6669, allocations: 235.7 kB / 1.164 GB, free: 8.133 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.667, allocations: 20 kB / 1.164 GB, free: 8.113 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006323/0.6677, allocations: 75.75 kB / 1.164 GB, free: 8.039 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.6677, allocations: 35.86 kB / 1.164 GB, free: 8.004 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.6678, allocations: 11.98 kB / 1.164 GB, free: 7.992 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008538/0.6686, allocations: 0.8289 MB / 1.165 GB, free: 7.156 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6686, allocations: 0 / 1.165 GB, free: 7.156 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001098/0.6697, allocations: 0.511 MB / 1.165 GB, free: 6.645 MB / 0.92 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001515/0.6712, allocations: 1.966 MB / 1.167 GB, free: 4.609 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002118/0.6734, allocations: 1.291 MB / 1.169 GB, free: 3.281 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6734, allocations: 0 / 1.169 GB, free: 3.281 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005528/0.6739, allocations: 316 kB / 1.169 GB, free: 2.973 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/0.6767, allocations: 0.6453 MB / 1.17 GB, free: 2.332 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.6885, allocations: 10.5 MB / 1.18 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006446/0.6891, allocations: 1.236 MB / 1.181 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008011/0.6899, allocations: 324.6 kB / 1.181 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.6903, allocations: 363.2 kB / 1.182 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.6903, allocations: 4 kB / 1.182 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.576/2.267, allocations: 31.25 MB / 1.212 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003403/2.267, allocations: 271.7 kB / 1.212 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/4.982, allocations: 0 / 1.212 GB, free: 6.391 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat does not exist to compare? outputFormat=mat