Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7121/0.7121, allocations: 141.8 MB / 149.1 MB, free: 13.11 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 182 kB / 181.9 MB, free: 9.785 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.3 MB / 436 MB, free: 2.211 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009945, allocations: 95.42 kB / 0.507 GB, free: 17.71 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001868/0.001868, allocations: 270.5 kB / 0.5884 GB, free: 3.766 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.414/0.4159, allocations: 89.65 MB / 0.676 GB, free: 136.4 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.5814, allocations: 82.77 MB / 0.7568 GB, free: 83.02 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.74/4.322, allocations: 1.829 GB / 2.586 GB, free: 172.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/4.322, allocations: 95.92 kB / 2.586 GB, free: 172.3 MB / 0.6982 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 6.2/10.52, allocations: 1.805 GB / 4.391 GB, free: 184.4 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/10.52, allocations: 7.625 kB / 4.391 GB, free: 184.4 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/10.52, allocations: 189.3 kB / 4.391 GB, free: 184.3 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/10.53, allocations: 1.379 MB / 4.392 GB, free: 184 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/10.53, allocations: 19.03 kB / 4.392 GB, free: 184 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/10.53, allocations: 36.69 kB / 4.392 GB, free: 184 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009547/10.53, allocations: 0.505 MB / 4.393 GB, free: 184 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/10.53, allocations: 0.7139 MB / 4.393 GB, free: 183.8 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/10.53, allocations: 3 kB / 4.393 GB, free: 183.8 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/10.53, allocations: 7.219 kB / 4.393 GB, free: 183.8 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/10.53, allocations: 13.88 kB / 4.394 GB, free: 183.8 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004464/10.53, allocations: 4.157 MB / 4.398 GB, free: 181 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005872/10.54, allocations: 484.5 kB / 4.398 GB, free: 181 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/10.54, allocations: 339.8 kB / 4.398 GB, free: 181 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/10.54, allocations: 191.4 kB / 4.399 GB, free: 180.8 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/10.54, allocations: 292.4 kB / 4.399 GB, free: 180.7 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/10.54, allocations: 0 / 4.399 GB, free: 180.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=33): time 0.001835/10.54, allocations: 0.8306 MB / 4.4 GB, free: 180.6 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/10.54, allocations: 87.89 kB / 4.4 GB, free: 180.5 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/10.54, allocations: 0.8683 MB / 4.401 GB, free: 180.3 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/10.54, allocations: 29.2 kB / 4.401 GB, free: 180.3 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/10.54, allocations: 341.4 kB / 4.401 GB, free: 180.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/10.54, allocations: 112.4 kB / 4.401 GB, free: 180.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/10.54, allocations: 0 / 4.401 GB, free: 180.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/10.54, allocations: 327.1 kB / 4.401 GB, free: 179.8 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/10.54, allocations: 203.1 kB / 4.402 GB, free: 179.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/10.54, allocations: 0.5261 MB / 4.402 GB, free: 179.4 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/10.54, allocations: 291.2 kB / 4.402 GB, free: 179.4 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/10.54, allocations: 3.328 kB / 4.402 GB, free: 179.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002012/10.54, allocations: 0.9532 MB / 4.403 GB, free: 179.3 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004355/10.54, allocations: 2.095 MB / 4.405 GB, free: 177.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/10.54, allocations: 8.359 kB / 4.405 GB, free: 177.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/10.54, allocations: 249.9 kB / 4.406 GB, free: 177.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/10.54, allocations: 72.33 kB / 4.406 GB, free: 177.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/10.55, allocations: 1.182 MB / 4.407 GB, free: 176.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/10.55, allocations: 99.36 kB / 4.407 GB, free: 176.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/10.55, allocations: 27.38 kB / 4.407 GB, free: 176.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/10.55, allocations: 10.84 kB / 4.407 GB, free: 176.5 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001625/10.55, allocations: 0.6405 MB / 4.408 GB, free: 176.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/10.55, allocations: 9.641 kB / 4.408 GB, free: 176.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007067/10.55, allocations: 228 kB / 4.408 GB, free: 176.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/10.55, allocations: 70.97 kB / 4.408 GB, free: 176.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/10.55, allocations: 2.791 MB / 4.411 GB, free: 175.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/10.56, allocations: 94.45 kB / 4.411 GB, free: 175.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.191e-05/10.56, allocations: 24.16 kB / 4.411 GB, free: 175.2 MB / 0.6982 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 () * 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002757/10.56, allocations: 121.3 kB / 4.411 GB, free: 175.1 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/10.56, allocations: 101.2 kB / 4.411 GB, free: 175 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/10.56, allocations: 0.7172 MB / 4.412 GB, free: 174.9 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/10.56, allocations: 4.094 kB / 4.412 GB, free: 174.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/10.56, allocations: 7.531 kB / 4.412 GB, free: 174.9 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/10.56, allocations: 5.25 kB / 4.412 GB, free: 174.9 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/10.56, allocations: 1.614 MB / 4.413 GB, free: 174.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/10.56, allocations: 2.5 kB / 4.413 GB, free: 174.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/10.56, allocations: 27.48 kB / 4.413 GB, free: 174.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004303/10.56, allocations: 207.2 kB / 4.413 GB, free: 174.4 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/10.56, allocations: 14.94 kB / 4.413 GB, free: 174.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000978/10.56, allocations: 1.043 MB / 4.414 GB, free: 173.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/10.56, allocations: 1.5 kB / 4.414 GB, free: 173.9 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001298/10.56, allocations: 0.9196 MB / 4.415 GB, free: 173.5 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001525/10.57, allocations: 1.347 MB / 4.417 GB, free: 172.7 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005601/10.57, allocations: 217.1 kB / 4.417 GB, free: 172.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/10.57, allocations: 3.312 kB / 4.417 GB, free: 172.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008202/10.57, allocations: 66.17 kB / 4.417 GB, free: 172.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/10.57, allocations: 37.2 kB / 4.417 GB, free: 172.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/10.57, allocations: 7.906 kB / 4.417 GB, free: 172.6 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0009398/10.57, allocations: 0.6859 MB / 4.418 GB, free: 172.5 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003575/10.57, allocations: 0.6853 MB / 4.418 GB, free: 172.4 MB / 0.6982 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/10.57, allocations: 1.026 MB / 4.419 GB, free: 172.3 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001743/10.57, allocations: 0.9697 MB / 4.42 GB, free: 172.1 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/10.57, allocations: 0 / 4.42 GB, free: 172.1 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003698/10.58, allocations: 220.5 kB / 4.42 GB, free: 172.1 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/10.58, allocations: 0.5309 MB / 4.421 GB, free: 172.1 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/10.58, allocations: 1.417 MB / 4.422 GB, free: 171.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007847/10.58, allocations: 1.259 MB / 4.424 GB, free: 171 MB / 0.6982 GB Notification: Performance of SimCode: time 7.51e-07/10.58, allocations: 0 / 4.424 GB, free: 171 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)