Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001458/0.001458, allocations: 192.2 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 294.6 kB / 290.2 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9352/0.9352, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 90.31 kB / 0.5945 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.178, allocations: 86.99 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.5721/0.7501, allocations: 212.4 MB / 0.8868 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02467/0.7748, allocations: 21.49 MB / 0.9078 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.7772, allocations: 46.94 kB / 0.9079 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.7793, allocations: 0.6175 MB / 0.9085 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01212/0.7914, allocations: 3.984 MB / 0.9124 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003158/0.7946, allocations: 0.9635 MB / 0.9133 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00709/0.8017, allocations: 5.365 MB / 0.9186 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/0.8042, allocations: 1.333 MB / 0.9199 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.8078, allocations: 1.443 MB / 0.9213 GB, free: 248 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/0.8115, allocations: 1.593 MB / 0.9228 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005231/0.8121, allocations: 92 kB / 0.9229 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004485/0.8166, allocations: 2.1 MB / 0.925 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.8176, allocations: 0.6739 MB / 0.9256 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.8194, allocations: 0.8824 MB / 0.9265 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005126/0.8245, allocations: 2.96 MB / 0.9294 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8245, allocations: 0 / 0.9294 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8246, allocations: 0 / 0.9294 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001043/0.8247, allocations: 0 / 0.9294 GB, free: 7.922 MB / 0.6387 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.004562/0.8292, allocations: 2.042 MB / 0.9314 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.8293, allocations: 8.031 kB / 0.9314 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/0.8317, allocations: 397.5 kB / 0.9317 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.8337, allocations: 1.101 MB / 0.9328 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.191e-05/0.8338, allocations: 106.5 kB / 0.9329 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.834, allocations: 128 kB / 0.933 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.8365, allocations: 1.592 MB / 0.9346 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.8365, allocations: 3.938 kB / 0.9346 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.8366, allocations: 52 kB / 0.9347 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.706e-05/0.8367, allocations: 58.45 kB / 0.9347 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.8387, allocations: 1.29 MB / 0.936 GB, free: 0.9609 MB / 0.6387 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.008268/0.847, allocations: 6.488 MB / 0.9423 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.8484, allocations: 0.9418 MB / 0.9432 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007282/0.8492, allocations: 487.2 kB / 0.9437 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007329/0.8499, allocations: 413 kB / 0.9441 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.85, allocations: 43.22 kB / 0.9441 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.687e-06/0.85, allocations: 7.938 kB / 0.9441 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.005955/0.856, allocations: 2.944 MB / 0.947 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.856, allocations: 64.39 kB / 0.9471 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.8576, allocations: 1.197 MB / 0.9482 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.284e-05/0.8577, allocations: 41.7 kB / 0.9483 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005443/0.8582, allocations: 0.676 MB / 0.9489 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.8585, allocations: 303.6 kB / 0.9492 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.8588, allocations: 194.6 kB / 0.9494 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.859, allocations: 349.9 kB / 0.9497 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005572/0.8595, allocations: 377.8 kB / 0.9501 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008781/0.8604, allocations: 0.7191 MB / 0.9508 GB, free: 0.9258 MB / 0.6544 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.01197/0.8724, allocations: 2.927 MB / 0.9537 GB, free: 13.88 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8724, allocations: 0 / 0.9537 GB, free: 13.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002353/0.8748, allocations: 1.289 MB / 0.9549 GB, free: 12.57 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.8748, allocations: 14.64 kB / 0.9549 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.8749, allocations: 12 kB / 0.955 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/0.8752, allocations: 134.4 kB / 0.9551 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/0.876, allocations: 199.7 kB / 0.9553 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004511/0.8805, allocations: 4.828 MB / 0.96 GB, free: 6.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.8819, allocations: 115.8 kB / 0.9601 GB, free: 6.867 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/0.882, allocations: 47.98 kB / 0.9601 GB, free: 6.82 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007015/0.8828, allocations: 438.3 kB / 0.9606 GB, free: 6.387 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.883, allocations: 142.3 kB / 0.9607 GB, free: 6.246 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/0.8847, allocations: 1.096 MB / 0.9618 GB, free: 5.133 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.8848, allocations: 8 kB / 0.9618 GB, free: 5.125 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.8848, allocations: 4 kB / 0.9618 GB, free: 5.121 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/0.8862, allocations: 1.054 MB / 0.9628 GB, free: 4.012 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005172/0.8914, allocations: 3.089 MB / 0.9658 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.8914, allocations: 8 kB / 0.9658 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007293/0.8921, allocations: 160.5 kB / 0.966 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000251/0.8924, allocations: 130.4 kB / 0.9661 GB, free: 428 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.8924, allocations: 31.98 kB / 0.9661 GB, free: 396 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003859/0.8963, allocations: 4.808 MB / 0.9708 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.8963, allocations: 15.88 kB / 0.9709 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.8987, allocations: 1.734 MB / 0.9725 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006378/0.8994, allocations: 319.3 kB / 0.9729 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.8995, allocations: 28 kB / 0.9729 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009126/0.9005, allocations: 83.28 kB / 0.973 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.9006, allocations: 72.36 kB / 0.973 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/0.9007, allocations: 39.98 kB / 0.9731 GB, free: 8.77 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001166/0.9019, allocations: 0.8461 MB / 0.9739 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.9019, allocations: 3.938 kB / 0.9739 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001452/0.9033, allocations: 404 kB / 0.9743 GB, free: 7.523 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005953/0.9039, allocations: 239.8 kB / 0.9745 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.9058, allocations: 1.277 MB / 0.9758 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.9058, allocations: 4 kB / 0.9758 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008792/0.9067, allocations: 0.7854 MB / 0.9765 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/0.9103, allocations: 0.8521 MB / 0.9774 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/0.9149, allocations: 3.368 MB / 0.9806 GB, free: 0.8438 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.916, allocations: 1.363 MB / 0.982 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001325/0.9173, allocations: 348.8 kB / 0.9823 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.9177, allocations: 115.4 kB / 0.9824 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of SimCode: time 9.91e-07/0.9177, allocations: 0 / 0.9824 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of Templates: time 0.05071/0.9684, allocations: 30.5 MB / 1.012 GB, free: 0.9492 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)