Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.713/1.713, allocations: 288.2 MB / 303.2 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 187.1 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 0.6305 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008654/0.0008654, allocations: 92.11 kB / 0.7439 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004275, allocations: 25.27 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2473, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.7932/1.041, allocations: 177 MB / 1.152 GB, free: 7.793 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03036/1.071, allocations: 18.55 MB / 1.17 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/1.074, allocations: 41.41 kB / 1.17 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003253/1.077, allocations: 0.759 MB / 1.171 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/1.09, allocations: 2.89 MB / 1.174 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005172/1.095, allocations: 1.214 MB / 1.175 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005901/1.101, allocations: 2.226 MB / 1.177 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003023/1.104, allocations: 1.189 MB / 1.179 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005235/1.109, allocations: 1.666 MB / 1.18 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003144/1.113, allocations: 1.117 MB / 1.181 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005761/1.113, allocations: 69.5 kB / 1.181 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003573/1.117, allocations: 0.7967 MB / 1.182 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/1.118, allocations: 0.5918 MB / 1.183 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001284/1.119, allocations: 359 kB / 1.183 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003503/1.123, allocations: 1.919 MB / 1.185 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/1.123, allocations: 0 / 1.185 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.447e-06/1.123, allocations: 0 / 1.185 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001164/1.123, allocations: 3.938 kB / 1.185 GB, free: 15.24 MB / 0.7292 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.004391/1.127, allocations: 1.686 MB / 1.187 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/1.127, allocations: 7.625 kB / 1.187 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000558/1.128, allocations: 199.3 kB / 1.187 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/1.13, allocations: 380.3 kB / 1.187 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/1.133, allocations: 1.044 MB / 1.188 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.323e-05/1.133, allocations: 105.4 kB / 1.188 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/1.133, allocations: 130.5 kB / 1.188 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/1.136, allocations: 1.572 MB / 1.19 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/1.136, allocations: 6.828 kB / 1.19 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/1.136, allocations: 53.09 kB / 1.19 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-05/1.136, allocations: 46.33 kB / 1.19 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/1.138, allocations: 1.279 MB / 1.191 GB, free: 11.14 MB / 0.7292 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.008735/1.147, allocations: 6.49 MB / 1.198 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/1.148, allocations: 0.7912 MB / 1.198 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004327/1.149, allocations: 156.9 kB / 1.199 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/1.149, allocations: 43.53 kB / 1.199 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 3.115e-06/1.149, allocations: 4 kB / 1.199 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73): time 0.002845/1.152, allocations: 1.53 MB / 1.2 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/1.152, allocations: 63.73 kB / 1.2 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/1.153, allocations: 1.253 MB / 1.201 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.71e-05/1.153, allocations: 43.36 kB / 1.201 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005397/1.154, allocations: 0.6941 MB / 1.202 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/1.154, allocations: 265.7 kB / 1.202 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/1.154, allocations: 18.72 kB / 1.202 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001704/1.154, allocations: 344.3 kB / 1.203 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/1.155, allocations: 350.5 kB / 1.203 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008359/1.156, allocations: 0.7103 MB / 1.204 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007096/1.156, allocations: 476.2 kB / 1.204 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.156, allocations: 2.531 kB / 1.204 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001963/1.158, allocations: 1.246 MB / 1.205 GB, free: 56 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.158, allocations: 12 kB / 1.205 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.158, allocations: 12.8 kB / 1.205 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003251/1.159, allocations: 138.4 kB / 1.206 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007314/1.16, allocations: 195.7 kB / 1.206 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/1.164, allocations: 4.863 MB / 1.21 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/1.165, allocations: 195.3 kB / 1.211 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/1.165, allocations: 44 kB / 1.211 GB, free: 10.2 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (112): * Single equations (assignments): 109 * 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.0008437/1.166, allocations: 425.3 kB / 1.211 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/1.167, allocations: 154.1 kB / 1.211 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/1.168, allocations: 1.045 MB / 1.212 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/1.168, allocations: 8 kB / 1.212 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/1.168, allocations: 0 / 1.212 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/1.169, allocations: 0.9309 MB / 1.213 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003686/1.173, allocations: 2.392 MB / 1.215 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/1.173, allocations: 8.062 kB / 1.216 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/1.174, allocations: 135.8 kB / 1.216 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002496/1.174, allocations: 122.5 kB / 1.216 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/1.174, allocations: 16 kB / 1.216 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004127/1.178, allocations: 4.859 MB / 1.221 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.178, allocations: 12.06 kB / 1.221 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/1.181, allocations: 1.666 MB / 1.222 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007494/1.181, allocations: 315.2 kB / 1.222 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/1.182, allocations: 20 kB / 1.222 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000836/1.182, allocations: 66.44 kB / 1.223 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.182, allocations: 68.34 kB / 1.223 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/1.183, allocations: 27.98 kB / 1.223 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001259/1.184, allocations: 0.8624 MB / 1.223 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/1.184, allocations: 0 / 1.223 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001627/1.185, allocations: 455.2 kB / 1.224 GB, free: 11.88 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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 (61): * Single equations (assignments): 58 * 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.003099/1.189, allocations: 3.005 MB / 1.227 GB, free: 8.781 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001855/1.19, allocations: 1.191 MB / 1.228 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/1.19, allocations: 4 kB / 1.228 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008338/1.191, allocations: 0.7308 MB / 1.229 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/1.195, allocations: 0.8275 MB / 1.23 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/1.211, allocations: 14.66 MB / 1.244 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/1.212, allocations: 1.382 MB / 1.245 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001646/1.214, allocations: 344.6 kB / 1.246 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007497/1.215, allocations: 0.5344 MB / 1.246 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of SimCode: time 1.994e-06/1.215, allocations: 0 / 1.246 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08091/1.296, allocations: 41.89 MB / 1.287 GB, free: 11.05 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/1.296, allocations: 242 kB / 1.287 GB, free: 10.81 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.675/4.971, allocations: 3.938 kB / 1.287 GB, free: 10.8 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)