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.0008439/0.0008438, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.000847/0.000847, allocations: 168.7 kB / 15.95 MB, free: 204 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.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.634/2.634, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006682/0.0006685, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7672/0.7679, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2192/0.9872, allocations: 195.5 MB / 1.172 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02607/1.013, allocations: 19.84 MB / 1.191 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/1.015, allocations: 43.69 kB / 1.191 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001983/1.017, allocations: 0.5124 MB / 1.192 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008844/1.026, allocations: 2.959 MB / 1.195 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/1.029, allocations: 0.7829 MB / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005794/1.035, allocations: 4.547 MB / 1.2 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/1.037, allocations: 1.163 MB / 1.201 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/1.04, allocations: 1.409 MB / 1.203 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003166/1.043, allocations: 1.46 MB / 1.204 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004762/1.043, allocations: 72 kB / 1.204 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003685/1.047, allocations: 0.9158 MB / 1.205 GB, free: 404 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001258/1.048, allocations: 0.6466 MB / 1.206 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/1.049, allocations: 364.8 kB / 1.206 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003571/1.053, allocations: 2.046 MB / 1.208 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.053, allocations: 4 kB / 1.208 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.544e-06/1.053, allocations: 0 / 1.208 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001026/1.053, allocations: 0 / 1.208 GB, free: 13.33 MB / 0.9669 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.003696/1.057, allocations: 1.714 MB / 1.21 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/1.057, allocations: 15.97 kB / 1.21 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003237/1.057, allocations: 198.1 kB / 1.21 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/1.06, allocations: 405.5 kB / 1.21 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/1.062, allocations: 1.051 MB / 1.211 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/1.062, allocations: 98.56 kB / 1.211 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/1.063, allocations: 132 kB / 1.211 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/1.066, allocations: 1.575 MB / 1.213 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/1.066, allocations: 11.91 kB / 1.213 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/1.066, allocations: 52 kB / 1.213 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-05/1.066, allocations: 50.44 kB / 1.213 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/1.068, allocations: 1.286 MB / 1.214 GB, free: 6.551 MB / 0.9669 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.008682/1.077, allocations: 6.485 MB / 1.221 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/1.078, allocations: 0.9413 MB / 1.222 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/1.079, allocations: 482.5 kB / 1.222 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006811/1.079, allocations: 428.9 kB / 1.223 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/1.079, allocations: 43.22 kB / 1.223 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.915e-06/1.079, allocations: 0 / 1.223 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.00508/1.085, allocations: 2.933 MB / 1.225 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/1.085, allocations: 64.39 kB / 1.225 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/1.086, allocations: 1.185 MB / 1.227 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/1.086, allocations: 45.7 kB / 1.227 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005282/1.087, allocations: 0.6799 MB / 1.227 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/1.087, allocations: 299.6 kB / 1.228 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/1.087, allocations: 20 kB / 1.228 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.087, allocations: 349.8 kB / 1.228 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/1.088, allocations: 373.8 kB / 1.228 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008413/1.088, allocations: 0.7152 MB / 1.229 GB, free: 6.727 MB / 0.9825 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.01057/1.099, allocations: 2.371 MB / 1.231 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.099, allocations: 0 / 1.231 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002135/1.101, allocations: 1.293 MB / 1.233 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.101, allocations: 8 kB / 1.233 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.101, allocations: 8 kB / 1.233 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002823/1.102, allocations: 134.5 kB / 1.233 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/1.102, allocations: 208.1 kB / 1.233 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004299/1.107, allocations: 4.82 MB / 1.238 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/1.108, allocations: 119.7 kB / 1.238 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-05/1.108, allocations: 47.98 kB / 1.238 GB, free: 13.29 MB / 0.9981 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.0007784/1.109, allocations: 422.9 kB / 1.238 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/1.109, allocations: 138.3 kB / 1.238 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/1.111, allocations: 1.1 MB / 1.239 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/1.111, allocations: 8 kB / 1.239 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.111, allocations: 3.953 kB / 1.239 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001338/1.112, allocations: 1.05 MB / 1.24 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00607/1.118, allocations: 3.129 MB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.752e-05/1.119, allocations: 8 kB / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009681/1.119, allocations: 151.8 kB / 1.244 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003578/1.12, allocations: 138.6 kB / 1.244 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.307e-05/1.12, allocations: 24 kB / 1.244 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005557/1.126, allocations: 4.813 MB / 1.249 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/1.126, allocations: 8 kB / 1.249 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6317/1.757, allocations: 1.726 MB / 1.25 GB, free: 265.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.759, allocations: 317.3 kB / 1.251 GB, free: 265 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004944/1.759, allocations: 24.52 kB / 1.251 GB, free: 265 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.76, allocations: 78 kB / 1.251 GB, free: 265 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/1.761, allocations: 78.64 kB / 1.251 GB, free: 265 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.761, allocations: 35.64 kB / 1.251 GB, free: 265 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002087/1.763, allocations: 0.8383 MB / 1.252 GB, free: 264.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.763, allocations: 1.094 kB / 1.252 GB, free: 264.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002344/1.765, allocations: 410.6 kB / 1.252 GB, free: 264.9 MB / 0.9981 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.004916/1.77, allocations: 2.404 MB / 1.254 GB, free: 264 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002451/1.773, allocations: 1.276 MB / 1.256 GB, free: 263.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.773, allocations: 1.594 kB / 1.256 GB, free: 263.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.774, allocations: 0.7838 MB / 1.256 GB, free: 262.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004988/1.779, allocations: 0.8587 MB / 1.257 GB, free: 262.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/1.8, allocations: 9.13 MB / 1.266 GB, free: 258 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.801, allocations: 1.357 MB / 1.267 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001863/1.803, allocations: 352.7 kB / 1.268 GB, free: 257.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008122/1.804, allocations: 0.5467 MB / 1.268 GB, free: 256.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/1.804, allocations: 0 / 1.268 GB, free: 256.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06314/1.867, allocations: 42.72 MB / 1.31 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001336/1.868, allocations: 240.9 kB / 1.31 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/5.12, allocations: 3.938 kB / 1.31 GB, free: 218.5 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