Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Sensors.Examples.PPM,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_9_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.000999/0.000999, allocations: 86.72 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.001255/0.001255, 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.434/1.434, allocations: 223.2 MB / 240 MB, free: 5.406 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.418/2.418, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7642/0.7646, allocations: 142.3 MB / 0.9538 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.261/1.026, allocations: 195.5 MB / 1.145 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02301/1.049, allocations: 19.84 MB / 1.164 GB, free: 8.305 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/1.051, allocations: 43.69 kB / 1.164 GB, free: 8.262 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/1.052, allocations: 0.5124 MB / 1.165 GB, free: 7.746 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009406/1.062, allocations: 2.959 MB / 1.168 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/1.065, allocations: 0.7826 MB / 1.168 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006349/1.071, allocations: 4.538 MB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/1.073, allocations: 1.167 MB / 1.174 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003266/1.076, allocations: 1.405 MB / 1.175 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002765/1.079, allocations: 1.468 MB / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002493/1.079, allocations: 72 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/1.082, allocations: 0.9198 MB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007213/1.083, allocations: 0.6427 MB / 1.178 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005679/1.084, allocations: 360.8 kB / 1.179 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/1.086, allocations: 2.034 MB / 1.181 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.086, allocations: 3.938 kB / 1.181 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.893e-06/1.086, allocations: 0 / 1.181 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.363e-05/1.086, allocations: 0 / 1.181 GB, free: 7.328 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.002628/1.088, allocations: 1.73 MB / 1.182 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.089, allocations: 8.031 kB / 1.182 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002295/1.089, allocations: 194.1 kB / 1.183 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/1.091, allocations: 401.5 kB / 1.183 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/1.093, allocations: 1.062 MB / 1.184 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.235e-05/1.093, allocations: 98.56 kB / 1.184 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/1.093, allocations: 140 kB / 1.184 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/1.096, allocations: 1.571 MB / 1.186 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/1.096, allocations: 3.984 kB / 1.186 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/1.096, allocations: 55.98 kB / 1.186 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.606e-05/1.096, allocations: 58.38 kB / 1.186 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/1.098, allocations: 1.286 MB / 1.187 GB, free: 0.5312 MB / 0.9356 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.007712/1.106, allocations: 6.481 MB / 1.193 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/1.107, allocations: 0.9451 MB / 1.194 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/1.108, allocations: 482.5 kB / 1.195 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006686/1.108, allocations: 428.9 kB / 1.195 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/1.108, allocations: 43.22 kB / 1.195 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 3.958e-06/1.108, allocations: 4 kB / 1.195 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84): time 0.005251/1.114, allocations: 2.932 MB / 1.198 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/1.114, allocations: 64.39 kB / 1.198 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/1.115, allocations: 1.189 MB / 1.199 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/1.116, allocations: 45.7 kB / 1.199 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005214/1.116, allocations: 0.6799 MB / 1.2 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/1.116, allocations: 295.7 kB / 1.2 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/1.116, allocations: 24 kB / 1.2 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.117, allocations: 345.9 kB / 1.201 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/1.117, allocations: 373.8 kB / 1.201 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008259/1.118, allocations: 0.7152 MB / 1.202 GB, free: 0.6914 MB / 0.9512 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.01006/1.128, allocations: 2.363 MB / 1.204 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/1.128, allocations: 4 kB / 1.204 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002716/1.131, allocations: 1.301 MB / 1.205 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/1.131, allocations: 8 kB / 1.205 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/1.131, allocations: 8 kB / 1.205 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000347/1.131, allocations: 131.2 kB / 1.205 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/1.132, allocations: 211.7 kB / 1.206 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/1.136, allocations: 4.828 MB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.138, allocations: 111.7 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.682e-05/1.138, allocations: 44 kB / 1.211 GB, free: 7.25 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.0007642/1.139, allocations: 430.1 kB / 1.211 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/1.139, allocations: 142.3 kB / 1.211 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/1.141, allocations: 1.092 MB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/1.141, allocations: 8 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/1.141, allocations: 0 / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001311/1.142, allocations: 1.058 MB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005165/1.147, allocations: 3.121 MB / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.147, allocations: 4 kB / 1.216 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007242/1.148, allocations: 159.8 kB / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002569/1.148, allocations: 127 kB / 1.217 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/1.148, allocations: 35.95 kB / 1.217 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00381/1.152, allocations: 4.812 MB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.152, allocations: 4 kB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/1.154, allocations: 1.738 MB / 1.223 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007388/1.155, allocations: 315.2 kB / 1.223 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/1.156, allocations: 27.94 kB / 1.223 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.157, allocations: 80.81 kB / 1.223 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.157, allocations: 80.3 kB / 1.223 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/1.157, allocations: 32.12 kB / 1.223 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001299/1.158, allocations: 0.8343 MB / 1.224 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.158, allocations: 0 / 1.224 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00178/1.16, allocations: 416 kB / 1.225 GB, free: 7.945 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.003162/1.163, allocations: 2.418 MB / 1.227 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001928/1.165, allocations: 1.264 MB / 1.228 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.165, allocations: 0 / 1.228 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009351/1.166, allocations: 0.7899 MB / 1.229 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/1.17, allocations: 0.8563 MB / 1.23 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/1.184, allocations: 9.118 MB / 1.239 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009838/1.185, allocations: 1.355 MB / 1.24 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001496/1.187, allocations: 360.7 kB / 1.24 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007339/1.188, allocations: 0.5462 MB / 1.241 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of SimCode: time 1.252e-06/1.188, allocations: 0 / 1.241 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.657/1.845, allocations: 42.72 MB / 1.283 GB, free: 265.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/1.845, allocations: 247.2 kB / 1.283 GB, free: 265 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/4.74, allocations: 0 / 1.283 GB, free: 265 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.PPM_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.PPM_res.mat does not exist to compare? outputFormat=mat