Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T",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.001061/0.001061, allocations: 103 kB / 15.06 MB, free: 1.098 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.001285/0.001285, allocations: 173.3 kB / 15.95 MB, free: 212 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.335/1.335, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003222, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6036/0.604, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1825/0.7865, allocations: 161 MB / 1.111 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009957/0.7965, allocations: 8.451 MB / 1.119 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008579/0.7974, allocations: 23.81 kB / 1.119 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.7986, allocations: 426 kB / 1.119 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.8015, allocations: 0.9854 MB / 1.12 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.804, allocations: 0.9388 MB / 1.121 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.8056, allocations: 1.002 MB / 1.122 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009399/0.8065, allocations: 0.6276 MB / 1.123 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.809, allocations: 0.9893 MB / 1.124 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004739/0.8095, allocations: 354.4 kB / 1.124 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.8095, allocations: 36 kB / 1.124 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.8111, allocations: 0.585 MB / 1.125 GB, free: 376 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.8113, allocations: 291.2 kB / 1.125 GB, free: 84 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.8116, allocations: 181.3 kB / 1.125 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009765/0.8125, allocations: 0.8379 MB / 1.126 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.8126, allocations: 0 / 1.126 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8126, allocations: 0 / 1.126 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.8126, allocations: 0 / 1.126 GB, free: 15.06 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001407/0.814, allocations: 0.9705 MB / 1.127 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.8141, allocations: 8.031 kB / 1.127 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.8142, allocations: 118.6 kB / 1.127 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.816, allocations: 310.5 kB / 1.127 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008684/0.8169, allocations: 0.5042 MB / 1.128 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.8169, allocations: 61.92 kB / 1.128 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.252e-05/0.817, allocations: 76 kB / 1.128 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.8183, allocations: 0.8947 MB / 1.129 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.8184, allocations: 4 kB / 1.129 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/0.8184, allocations: 28 kB / 1.129 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.8185, allocations: 41.23 kB / 1.129 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009902/0.8195, allocations: 0.582 MB / 1.13 GB, free: 11.31 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.003561/0.8231, allocations: 3.497 MB / 1.133 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.8234, allocations: 239.6 kB / 1.133 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004319/0.8239, allocations: 137 kB / 1.133 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.8239, allocations: 46.48 kB / 1.133 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=21): time 1.864e-06/0.8239, allocations: 0 / 1.133 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21): time 0.00121/0.8252, allocations: 474.9 kB / 1.134 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.8252, allocations: 102.8 kB / 1.134 GB, free: 6.562 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/0.8262, allocations: 0.8566 MB / 1.135 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.8262, allocations: 33.7 kB / 1.135 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.8265, allocations: 383.9 kB / 1.135 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/0.8266, allocations: 82.83 kB / 1.135 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.8266, allocations: 4 kB / 1.135 GB, free: 5.195 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.8267, allocations: 318 kB / 1.136 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.8269, allocations: 107.9 kB / 1.136 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.8272, allocations: 223 kB / 1.136 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.8275, allocations: 136.8 kB / 1.136 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.8275, allocations: 4 kB / 1.136 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000692/0.8282, allocations: 409.9 kB / 1.136 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8282, allocations: 12.03 kB / 1.136 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.8283, allocations: 7.984 kB / 1.136 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.8283, allocations: 4 kB / 1.136 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.8286, allocations: 63.91 kB / 1.137 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.8286, allocations: 4 kB / 1.137 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.8291, allocations: 99.03 kB / 1.137 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.8291, allocations: 12 kB / 1.137 GB, free: 3.773 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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 0.0002586/0.8294, allocations: 233.6 kB / 1.137 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.8295, allocations: 79.02 kB / 1.137 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/0.8301, allocations: 330 kB / 1.137 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.8302, allocations: 7.953 kB / 1.137 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.8302, allocations: 0 / 1.137 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8302, allocations: 0 / 1.137 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.8322, allocations: 1.389 MB / 1.139 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.8322, allocations: 4 kB / 1.139 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.8324, allocations: 51.94 kB / 1.139 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.8324, allocations: 4 kB / 1.139 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.8325, allocations: 15.94 kB / 1.139 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.866e-06/0.8325, allocations: 7.938 kB / 1.139 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.8325, allocations: 11.89 kB / 1.139 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007959/0.8333, allocations: 0.7225 MB / 1.139 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/0.8336, allocations: 188.1 kB / 1.14 GB, free: 440 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.48e-05/0.8337, allocations: 12 kB / 1.14 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.8341, allocations: 35.88 kB / 1.14 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.8341, allocations: 31.88 kB / 1.14 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.8342, allocations: 12 kB / 1.14 GB, free: 348 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007368/0.8349, allocations: 0.6044 MB / 1.14 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8349, allocations: 0 / 1.14 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005727/0.8355, allocations: 159.8 kB / 1.14 GB, free: 15.58 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.001803/0.8373, allocations: 2.52 MB / 1.143 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005796/0.8379, allocations: 264.1 kB / 1.143 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.8379, allocations: 0 / 1.143 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.8382, allocations: 133 kB / 1.143 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.84, allocations: 411 kB / 1.144 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007176/0.8472, allocations: 6.086 MB / 1.15 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/0.8479, allocations: 1.011 MB / 1.151 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006967/0.8486, allocations: 158.2 kB / 1.151 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.849, allocations: 271.3 kB / 1.151 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of SimCode: time 9.82e-07/0.849, allocations: 0 / 1.151 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.8864, allocations: 19.85 MB / 1.17 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.8866, allocations: 228.4 kB / 1.171 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.829, allocations: 0 / 1.171 GB, free: 0.6367 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat does not exist to compare? outputFormat=mat