Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.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.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_PPM",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.001317/0.001317, allocations: 100 kB / 15.05 MB, free: 1.105 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.001562/0.001562, allocations: 177.3 kB / 15.94 MB, free: 228 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.762/1.762, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.117/3.117, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004198, allocations: 16 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.004, allocations: 146.8 MB / 0.9809 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2268/1.231, allocations: 177 MB / 1.154 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02692/1.257, allocations: 18.59 MB / 1.172 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002449/1.26, allocations: 39.75 kB / 1.172 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003134/1.263, allocations: 0.766 MB / 1.173 GB, free: 1.453 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01259/1.276, allocations: 2.925 MB / 1.176 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006712/1.283, allocations: 1.217 MB / 1.177 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.008012/1.291, allocations: 2.264 MB / 1.179 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00358/1.294, allocations: 1.198 MB / 1.18 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006144/1.3, allocations: 1.675 MB / 1.182 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/1.303, allocations: 1.121 MB / 1.183 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003644/1.304, allocations: 68 kB / 1.183 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/1.307, allocations: 0.8386 MB / 1.184 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008917/1.308, allocations: 0.5922 MB / 1.184 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/1.309, allocations: 364.8 kB / 1.185 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003297/1.312, allocations: 1.956 MB / 1.187 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/1.312, allocations: 0 / 1.187 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.637e-06/1.312, allocations: 0 / 1.187 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.235e-05/1.312, allocations: 0 / 1.187 GB, free: 3.191 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.003765/1.316, allocations: 1.695 MB / 1.188 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/1.316, allocations: 12.03 kB / 1.188 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003282/1.317, allocations: 194.1 kB / 1.188 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/1.319, allocations: 409.5 kB / 1.189 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/1.322, allocations: 1.051 MB / 1.19 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.115e-05/1.322, allocations: 102.6 kB / 1.19 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/1.323, allocations: 136 kB / 1.19 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/1.325, allocations: 1.563 MB / 1.192 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.753e-05/1.325, allocations: 11.89 kB / 1.192 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/1.326, allocations: 60 kB / 1.192 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-05/1.326, allocations: 50.44 kB / 1.192 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/1.328, allocations: 1.286 MB / 1.193 GB, free: 12.43 MB / 0.9512 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.01036/1.338, allocations: 6.477 MB / 1.199 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/1.34, allocations: 0.9413 MB / 1.2 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000526/1.341, allocations: 153.7 kB / 1.2 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/1.341, allocations: 47.22 kB / 1.2 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 3.576e-06/1.341, allocations: 0 / 1.2 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84): time 0.007599/1.348, allocations: 2.927 MB / 1.203 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/1.348, allocations: 68.28 kB / 1.203 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/1.351, allocations: 1.189 MB / 1.204 GB, free: 32 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001969/1.351, allocations: 45.64 kB / 1.205 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006463/1.352, allocations: 0.6799 MB / 1.205 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/1.352, allocations: 303.6 kB / 1.205 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/1.352, allocations: 20 kB / 1.205 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002153/1.352, allocations: 353.9 kB / 1.206 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006978/1.353, allocations: 365.8 kB / 1.206 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/1.354, allocations: 0.7074 MB / 1.207 GB, free: 13.42 MB / 0.9669 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/1.367, allocations: 2.371 MB / 1.209 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/1.367, allocations: 0 / 1.209 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002407/1.369, allocations: 1.289 MB / 1.21 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/1.369, allocations: 8.812 kB / 1.21 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.369, allocations: 8 kB / 1.21 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/1.369, allocations: 138.4 kB / 1.211 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008891/1.37, allocations: 199.7 kB / 1.211 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004562/1.375, allocations: 4.875 MB / 1.216 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/1.377, allocations: 111.7 kB / 1.216 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.377, allocations: 47.98 kB / 1.216 GB, free: 3.934 MB / 0.9669 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 113 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009076/1.378, allocations: 425.4 kB / 1.216 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/1.378, allocations: 146.3 kB / 1.216 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/1.38, allocations: 1.084 MB / 1.217 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/1.38, allocations: 8 kB / 1.217 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.38, allocations: 7.891 kB / 1.217 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001533/1.382, allocations: 1.058 MB / 1.218 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006224/1.388, allocations: 3.109 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/1.388, allocations: 11.95 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008987/1.389, allocations: 164.4 kB / 1.222 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003204/1.389, allocations: 130.5 kB / 1.222 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/1.389, allocations: 28 kB / 1.222 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005549/1.395, allocations: 4.852 MB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/1.395, allocations: 7.938 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/1.398, allocations: 2.088 MB / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008142/1.399, allocations: 319.2 kB / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/1.399, allocations: 24 kB / 1.229 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009969/1.4, allocations: 81.2 kB / 1.229 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/1.4, allocations: 72.38 kB / 1.229 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-05/1.4, allocations: 35.98 kB / 1.229 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001224/1.401, allocations: 0.8382 MB / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.21e-07/1.401, allocations: 0 / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001701/1.403, allocations: 404 kB / 1.23 GB, free: 3.992 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * 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 (75): * Single equations (assignments): 72 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004112/1.407, allocations: 4.35 MB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002703/1.41, allocations: 1.262 MB / 1.236 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.937e-05/1.41, allocations: 4 kB / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/1.411, allocations: 0.79 MB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/1.415, allocations: 0.8443 MB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.579/1.994, allocations: 14.44 MB / 1.251 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.996, allocations: 1.388 MB / 1.253 GB, free: 262.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001882/1.998, allocations: 356.2 kB / 1.253 GB, free: 262.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007681/1.998, allocations: 0.5488 MB / 1.254 GB, free: 262.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.302e-06/1.998, allocations: 0 / 1.254 GB, free: 262.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08771/2.086, allocations: 42.68 MB / 1.295 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/2.086, allocations: 235.2 kB / 1.296 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.438/5.524, allocations: 0 / 1.296 GB, free: 232.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM_res.mat does not exist to compare? outputFormat=mat