Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.001177/0.001177, allocations: 91.53 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.001489/0.001489, allocations: 172.7 kB / 15.95 MB, free: 208 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.476/1.476, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.66/2.66, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004676, allocations: 8 kB / 0.8377 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7887/0.7893, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004919/0.7942, allocations: 3.926 MB / 0.985 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003068/0.7973, allocations: 2.49 MB / 0.9874 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.7975, allocations: 0 / 0.9874 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.7978, allocations: 35.75 kB / 0.9874 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.7982, allocations: 87.42 kB / 0.9875 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.7995, allocations: 401.4 kB / 0.9879 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.7999, allocations: 267.9 kB / 0.9881 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.8, allocations: 13.55 kB / 0.9882 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009499/0.8009, allocations: 391 kB / 0.9885 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.8011, allocations: 91.64 kB / 0.9886 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.8011, allocations: 8 kB / 0.9886 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009703/0.8021, allocations: 395.2 kB / 0.989 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.8021, allocations: 35.89 kB / 0.989 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 5.271e-05/0.8022, allocations: 53.64 kB / 0.9891 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.8026, allocations: 225.7 kB / 0.9893 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.8026, allocations: 0 / 0.9893 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8027, allocations: 3.938 kB / 0.9893 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8027, allocations: 0 / 0.9893 GB, free: 13.83 MB / 0.7481 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.0007741/0.8035, allocations: 463.2 kB / 0.9897 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.8035, allocations: 12.03 kB / 0.9898 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.341e-05/0.8036, allocations: 54.48 kB / 0.9898 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.8037, allocations: 31.8 kB / 0.9898 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.804, allocations: 202.8 kB / 0.99 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.8041, allocations: 12.33 kB / 0.99 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.8041, allocations: 19.95 kB / 0.9901 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.8045, allocations: 248.9 kB / 0.9903 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.8046, allocations: 4 kB / 0.9903 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.8046, allocations: 12 kB / 0.9903 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.8046, allocations: 8 kB / 0.9903 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005789/0.8052, allocations: 427.5 kB / 0.9907 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.8063, allocations: 0.996 MB / 0.9917 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.8066, allocations: 161.8 kB / 0.9919 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.8067, allocations: 64.88 kB / 0.9919 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/0.8083, allocations: 1.836 MB / 0.9937 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.8084, allocations: 34.56 kB / 0.9937 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.8084, allocations: 0 / 0.9937 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.000329/0.8087, allocations: 138.8 kB / 0.9939 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.8088, allocations: 51.41 kB / 0.9939 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.8089, allocations: 179.2 kB / 0.9941 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.809, allocations: 29.7 kB / 0.9941 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.8091, allocations: 139.8 kB / 0.9943 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.8091, allocations: 59.19 kB / 0.9943 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.8091, allocations: 4 kB / 0.9943 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.8093, allocations: 326.8 kB / 0.9946 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.494e-05/0.8094, allocations: 35.97 kB / 0.9947 GB, free: 7.688 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.8095, allocations: 133.7 kB / 0.9948 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.828e-05/0.8096, allocations: 57.05 kB / 0.9948 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8097, allocations: 0 / 0.9948 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003145/0.81, allocations: 218.5 kB / 0.9951 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.81, allocations: 4 kB / 0.9951 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.81, allocations: 4 kB / 0.9951 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.81, allocations: 8 kB / 0.9951 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.8102, allocations: 56.38 kB / 0.9951 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.8102, allocations: 8 kB / 0.9951 GB, free: 7.156 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.8104, allocations: 23.75 kB / 0.9952 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.8104, allocations: 15.95 kB / 0.9952 GB, free: 7.117 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.8105, allocations: 129.7 kB / 0.9953 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.992e-05/0.8106, allocations: 19.81 kB / 0.9953 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.8109, allocations: 162.8 kB / 0.9955 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.8109, allocations: 0 / 0.9955 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8109, allocations: 4 kB / 0.9955 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8109, allocations: 0 / 0.9955 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.8112, allocations: 221.5 kB / 0.9957 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8112, allocations: 4 kB / 0.9957 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.431e-05/0.8113, allocations: 16 kB / 0.9957 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.8113, allocations: 4 kB / 0.9957 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.8114, allocations: 7.984 kB / 0.9957 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.8114, allocations: 3.938 kB / 0.9957 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8114, allocations: 3.938 kB / 0.9957 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.8117, allocations: 217.7 kB / 0.9959 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.8118, allocations: 116.8 kB / 0.996 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.8118, allocations: 0 / 0.996 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.812, allocations: 23.97 kB / 0.9961 GB, free: 6.105 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.8121, allocations: 4 kB / 0.9961 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.8121, allocations: 19.98 kB / 0.9961 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.45e-05/0.8122, allocations: 120.9 kB / 0.9962 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8122, allocations: 0 / 0.9962 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000421/0.8126, allocations: 79.98 kB / 0.9963 GB, free: 5.887 MB / 0.7481 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 (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.0008509/0.8135, allocations: 0.828 MB / 0.9971 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.8138, allocations: 119.7 kB / 0.9972 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.8138, allocations: 7.938 kB / 0.9972 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.8139, allocations: 43.92 kB / 0.9973 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.8144, allocations: 52.89 kB / 0.9973 GB, free: 4.816 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.8161, allocations: 1.003 MB / 0.9983 GB, free: 3.719 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.8166, allocations: 0.7133 MB / 0.999 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.8168, allocations: 45.75 kB / 0.999 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.8169, allocations: 47.36 kB / 0.9991 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.8169, allocations: 0 / 0.9991 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.8337, allocations: 4.725 MB / 1.004 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.8339, allocations: 192.2 kB / 1.004 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.772, allocations: 0 / 1.004 GB, free: 14.1 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat does not exist to compare? outputFormat=mat