Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6931/0.6931, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009603/0.0009604, allocations: 189.4 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 221.3 MB / 441.4 MB, free: 4.645 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007922/0.0007922, allocations: 96.61 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001652/0.001652, allocations: 266.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.81e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3392, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.374/3.714, allocations: 1.828 GB / 2.593 GB, free: 178.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/3.714, allocations: 81.14 kB / 2.593 GB, free: 178.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6812/4.395, allocations: 222.2 MB / 2.81 GB, free: 207.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.285e-06/4.395, allocations: 0 / 2.81 GB, free: 207.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.228e-05/4.395, allocations: 7 kB / 2.81 GB, free: 207.2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006483/4.396, allocations: 0.5608 MB / 2.81 GB, free: 206.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/4.396, allocations: 10.78 kB / 2.81 GB, free: 206.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/4.396, allocations: 46.09 kB / 2.81 GB, free: 206.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002746/4.396, allocations: 57 kB / 2.81 GB, free: 206.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/4.397, allocations: 308.4 kB / 2.811 GB, free: 206.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/4.397, allocations: 11.31 kB / 2.811 GB, free: 206.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/4.397, allocations: 15.03 kB / 2.811 GB, free: 206.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/4.397, allocations: 171.1 kB / 2.811 GB, free: 206.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/4.397, allocations: 3.531 kB / 2.811 GB, free: 206.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/4.397, allocations: 4.797 kB / 2.811 GB, free: 206.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/4.397, allocations: 6.562 kB / 2.811 GB, free: 206.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/4.397, allocations: 94.78 kB / 2.811 GB, free: 206.5 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.0007632/4.398, allocations: 0.793 MB / 2.812 GB, free: 206 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/4.398, allocations: 68.62 kB / 2.812 GB, free: 205.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/4.398, allocations: 57.61 kB / 2.812 GB, free: 205.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/4.398, allocations: 190.2 kB / 2.812 GB, free: 205.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/4.398, allocations: 34.53 kB / 2.812 GB, free: 205.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/4.398, allocations: 0 / 2.812 GB, free: 205.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003243/4.399, allocations: 141.1 kB / 2.812 GB, free: 205.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.697e-05/4.399, allocations: 51.41 kB / 2.812 GB, free: 205.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/4.399, allocations: 235.7 kB / 2.812 GB, free: 205.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/4.399, allocations: 33.23 kB / 2.812 GB, free: 205.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/4.399, allocations: 150.3 kB / 2.813 GB, free: 205.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/4.399, allocations: 30.33 kB / 2.813 GB, free: 205.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/4.399, allocations: 3.938 kB / 2.813 GB, free: 205.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/4.399, allocations: 336.9 kB / 2.813 GB, free: 205 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/4.399, allocations: 25.7 kB / 2.813 GB, free: 205 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.31e-05/4.399, allocations: 94.97 kB / 2.813 GB, free: 205 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.432e-05/4.399, allocations: 36.42 kB / 2.813 GB, free: 205 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/4.399, allocations: 0 / 2.813 GB, free: 205 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001577/4.399, allocations: 131.4 kB / 2.813 GB, free: 204.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.258e-05/4.399, allocations: 364 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/4.399, allocations: 3.625 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/4.399, allocations: 0 / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/4.4, allocations: 21.81 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/4.4, allocations: 4.25 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/4.4, allocations: 38.83 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/4.4, allocations: 7.469 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/4.4, allocations: 4.594 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001155/4.4, allocations: 80.7 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-06/4.4, allocations: 2.75 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/4.4, allocations: 2.438 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/4.4, allocations: 23.83 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/4.4, allocations: 11.47 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/4.4, allocations: 31.48 kB / 2.814 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/4.4, allocations: 7.844 kB / 2.814 GB, free: 204.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/4.4, allocations: 110.7 kB / 2.814 GB, free: 204.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/4.4, allocations: 26.33 kB / 2.814 GB, free: 204.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/4.401, allocations: 129 kB / 2.814 GB, free: 204.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/4.401, allocations: 3.875 kB / 2.814 GB, free: 204.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/4.401, allocations: 0 / 2.814 GB, free: 204.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/4.401, allocations: 7.281 kB / 2.814 GB, free: 204.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/4.401, allocations: 0.5499 MB / 2.815 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/4.401, allocations: 3.953 kB / 2.815 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/4.401, allocations: 32.44 kB / 2.815 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/4.401, allocations: 288 / 2.815 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/4.401, allocations: 7.406 kB / 2.815 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/4.401, allocations: 3.938 kB / 2.815 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/4.401, allocations: 10.12 kB / 2.815 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/4.402, allocations: 347.8 kB / 2.815 GB, free: 203.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/4.402, allocations: 113.3 kB / 2.815 GB, free: 203.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/4.402, allocations: 7.781 kB / 2.815 GB, free: 203.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/4.402, allocations: 17.95 kB / 2.815 GB, free: 203.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/4.402, allocations: 20.03 kB / 2.815 GB, free: 203.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/4.402, allocations: 7.938 kB / 2.815 GB, free: 203.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001224/4.402, allocations: 192.4 kB / 2.815 GB, free: 203.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/4.402, allocations: 0 / 2.815 GB, free: 203.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005547/4.403, allocations: 171.8 kB / 2.815 GB, free: 203.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/4.404, allocations: 2.164 MB / 2.818 GB, free: 202.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002037/4.404, allocations: 128.1 kB / 2.818 GB, free: 202.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/4.404, allocations: 0 / 2.818 GB, free: 202.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/4.404, allocations: 54.17 kB / 2.818 GB, free: 202.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/4.405, allocations: 138.5 kB / 2.818 GB, free: 202.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/4.405, allocations: 389.7 kB / 2.818 GB, free: 201.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/4.405, allocations: 0.7632 MB / 2.819 GB, free: 201.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002426/4.406, allocations: 93.66 kB / 2.819 GB, free: 201.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/4.406, allocations: 59.8 kB / 2.819 GB, free: 201.1 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/4.406, allocations: 0 / 2.819 GB, free: 201.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/4.436, allocations: 23.14 MB / 2.842 GB, free: 198.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/4.436, allocations: 212.7 kB / 2.842 GB, free: 198.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/6.775, allocations: 0 / 2.842 GB, free: 198.4 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)