Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.96/1.96, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 176.8 kB / 327 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.307/2.307, allocations: 205.4 MB / 0.578 GB, free: 20.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008859/0.0008859, allocations: 85.59 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005165, allocations: 10.62 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.225, allocations: 106.3 MB / 0.9009 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005207/0.2303, allocations: 4.104 MB / 0.9049 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002914/0.2332, allocations: 2.652 MB / 0.9075 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.2333, allocations: 0 / 0.9075 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.2336, allocations: 35.81 kB / 0.9075 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.2339, allocations: 87.48 kB / 0.9076 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.2351, allocations: 429.4 kB / 0.908 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.2354, allocations: 307.8 kB / 0.9083 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.2354, allocations: 9.562 kB / 0.9083 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.2364, allocations: 402.9 kB / 0.9087 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.2366, allocations: 91.59 kB / 0.9088 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.2366, allocations: 8 kB / 0.9088 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009871/0.2376, allocations: 479 kB / 0.9093 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/0.2377, allocations: 39.83 kB / 0.9093 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.472e-05/0.2378, allocations: 97.36 kB / 0.9094 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.2384, allocations: 343.4 kB / 0.9097 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2384, allocations: 7.938 kB / 0.9097 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2384, allocations: 0 / 0.9097 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2384, allocations: 0 / 0.9097 GB, free: 54.68 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006095/0.239, allocations: 463.3 kB / 0.9102 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2391, allocations: 8.031 kB / 0.9102 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.533e-05/0.2391, allocations: 58.73 kB / 0.9102 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.2393, allocations: 24.83 kB / 0.9103 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.2395, allocations: 208.1 kB / 0.9105 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.2396, allocations: 16.69 kB / 0.9105 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.2396, allocations: 16.38 kB / 0.9105 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.2399, allocations: 245.5 kB / 0.9107 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.24, allocations: 7.984 kB / 0.9107 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.24, allocations: 8 kB / 0.9107 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.24, allocations: 11.98 kB / 0.9108 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.2405, allocations: 427.5 kB / 0.9112 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009582/0.2415, allocations: 1.004 MB / 0.9121 GB, free: 52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.2418, allocations: 161.9 kB / 0.9123 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.242, allocations: 57.55 kB / 0.9123 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.2431, allocations: 1.821 MB / 0.9141 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2431, allocations: 38.5 kB / 0.9142 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.2431, allocations: 0 / 0.9142 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003569/0.2435, allocations: 149.3 kB / 0.9143 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.2435, allocations: 55.34 kB / 0.9144 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2437, allocations: 174.1 kB / 0.9145 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.2437, allocations: 33.7 kB / 0.9146 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.2438, allocations: 139.8 kB / 0.9147 GB, free: 48.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.2438, allocations: 47.3 kB / 0.9147 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.2439, allocations: 8 kB / 0.9147 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.972e-05/0.2439, allocations: 322.8 kB / 0.9151 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.733e-05/0.244, allocations: 35.97 kB / 0.9151 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.2441, allocations: 141.7 kB / 0.9152 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.2444, allocations: 195.4 kB / 0.9154 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2444, allocations: 4 kB / 0.9154 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003662/0.2448, allocations: 217 kB / 0.9156 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2448, allocations: 8 kB / 0.9156 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2448, allocations: 4 kB / 0.9156 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2448, allocations: 7.938 kB / 0.9156 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.2451, allocations: 55.91 kB / 0.9157 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.2451, allocations: 8.469 kB / 0.9157 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.2452, allocations: 27.69 kB / 0.9157 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.2453, allocations: 16 kB / 0.9157 GB, free: 47.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.191e-05/0.2454, allocations: 129.7 kB / 0.9159 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.2454, allocations: 23.73 kB / 0.9159 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.2458, allocations: 156.8 kB / 0.916 GB, free: 47.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.2458, allocations: 7.938 kB / 0.916 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2458, allocations: 0 / 0.916 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2458, allocations: 0 / 0.916 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.2461, allocations: 221.4 kB / 0.9163 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2461, allocations: 0 / 0.9163 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.2462, allocations: 24 kB / 0.9163 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2462, allocations: 0 / 0.9163 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.2463, allocations: 7.984 kB / 0.9163 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2463, allocations: 3.938 kB / 0.9163 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2463, allocations: 3.938 kB / 0.9163 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.2465, allocations: 214.2 kB / 0.9165 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-05/0.2466, allocations: 112.9 kB / 0.9166 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.2466, allocations: 8 kB / 0.9166 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.2469, allocations: 15.92 kB / 0.9166 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.2469, allocations: 15.92 kB / 0.9166 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.247, allocations: 8 kB / 0.9167 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.355e-05/0.2471, allocations: 116.9 kB / 0.9168 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2471, allocations: 0 / 0.9168 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000504/0.2476, allocations: 83.84 kB / 0.9168 GB, free: 46.56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006697/0.2483, allocations: 0.8215 MB / 0.9176 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.2485, allocations: 120.5 kB / 0.9178 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2485, allocations: 0 / 0.9178 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.592e-05/0.2486, allocations: 51.91 kB / 0.9178 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.2492, allocations: 50.72 kB / 0.9179 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.2513, allocations: 2.129 MB / 0.9199 GB, free: 43.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.2515, allocations: 0.7128 MB / 0.9206 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002392/0.2517, allocations: 45.75 kB / 0.9207 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.738e-05/0.2518, allocations: 43.42 kB / 0.9207 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2518, allocations: 4 kB / 0.9207 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08262/0.3344, allocations: 4.811 MB / 0.9254 GB, free: 37.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.3347, allocations: 213.3 kB / 0.9256 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/3.226, allocations: 4 kB / 0.9256 GB, free: 37.48 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)