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.001194/0.001194, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00226/0.00226, allocations: 283 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9425/0.9425, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 101.4 kB / 0.5952 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1707, allocations: 86.98 MB / 0.6802 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.5798/0.7506, allocations: 214.6 MB / 0.8898 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0249/0.7755, allocations: 21.33 MB / 0.9106 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/0.7784, allocations: 58.91 kB / 0.9106 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.7806, allocations: 0.7368 MB / 0.9114 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.7912, allocations: 4.244 MB / 0.9155 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.7941, allocations: 1.062 MB / 0.9166 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004976/0.7991, allocations: 3.908 MB / 0.9204 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.8012, allocations: 1.576 MB / 0.9219 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003098/0.8043, allocations: 1.615 MB / 0.9235 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00335/0.8077, allocations: 1.542 MB / 0.925 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003199/0.808, allocations: 164 kB / 0.9251 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00498/0.813, allocations: 1.82 MB / 0.9269 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.8144, allocations: 0.7481 MB / 0.9277 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002515/0.817, allocations: 0.9488 MB / 0.9286 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004806/0.8218, allocations: 2.898 MB / 0.9314 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.8218, allocations: 0 / 0.9314 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8218, allocations: 4 kB / 0.9314 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.8218, allocations: 0 / 0.9314 GB, free: 5.961 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.003075/0.8249, allocations: 2.042 MB / 0.9334 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.825, allocations: 8.031 kB / 0.9334 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.8272, allocations: 405.5 kB / 0.9338 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.829, allocations: 1.101 MB / 0.9349 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.066e-05/0.8291, allocations: 98.56 kB / 0.935 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.8293, allocations: 132 kB / 0.9351 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.8316, allocations: 1.586 MB / 0.9366 GB, free: 420 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.8317, allocations: 3.938 kB / 0.9367 GB, free: 416 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.8318, allocations: 56 kB / 0.9367 GB, free: 360 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.639e-05/0.8319, allocations: 50.44 kB / 0.9368 GB, free: 308 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.8338, allocations: 1.298 MB / 0.938 GB, free: 15 MB / 0.6544 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.008094/0.8419, allocations: 6.524 MB / 0.9444 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.8433, allocations: 0.9496 MB / 0.9453 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.8439, allocations: 486.5 kB / 0.9458 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006912/0.8446, allocations: 409 kB / 0.9462 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.8447, allocations: 46.34 kB / 0.9462 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/0.8447, allocations: 4 kB / 0.9462 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.00515/0.8499, allocations: 2.942 MB / 0.9491 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.8499, allocations: 64.34 kB / 0.9492 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.8513, allocations: 1.197 MB / 0.9503 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.94e-05/0.8514, allocations: 45.7 kB / 0.9504 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/0.8519, allocations: 0.6799 MB / 0.951 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.8522, allocations: 307.6 kB / 0.9513 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.8524, allocations: 186.6 kB / 0.9515 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.8526, allocations: 345.9 kB / 0.9518 GB, free: 172 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000553/0.8531, allocations: 373.9 kB / 0.9522 GB, free: 15.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/0.854, allocations: 0.723 MB / 0.9529 GB, free: 14.93 MB / 0.67 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.01149/0.8655, allocations: 2.926 MB / 0.9558 GB, free: 11.89 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.8655, allocations: 4 kB / 0.9558 GB, free: 11.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002033/0.8675, allocations: 1.305 MB / 0.957 GB, free: 10.56 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.8675, allocations: 8 kB / 0.957 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.8676, allocations: 8 kB / 0.957 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/0.8678, allocations: 130.7 kB / 0.9572 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.8686, allocations: 211.7 kB / 0.9574 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004039/0.8727, allocations: 5.372 MB / 0.9626 GB, free: 4.418 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.8739, allocations: 47.88 kB / 0.9627 GB, free: 4.371 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.958e-05/0.874, allocations: 44.06 kB / 0.9627 GB, free: 4.328 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.0006668/0.8746, allocations: 438.7 kB / 0.9631 GB, free: 3.891 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.8749, allocations: 142.2 kB / 0.9633 GB, free: 3.75 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.8765, allocations: 1.088 MB / 0.9643 GB, free: 2.641 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.8765, allocations: 16 kB / 0.9643 GB, free: 2.625 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.8765, allocations: 3.938 kB / 0.9643 GB, free: 2.621 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/0.8778, allocations: 1.062 MB / 0.9654 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004716/0.8825, allocations: 3.078 MB / 0.9684 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.8826, allocations: 4.75 kB / 0.9684 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/0.8833, allocations: 163.7 kB / 0.9685 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000252/0.8835, allocations: 126.5 kB / 0.9687 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/0.8836, allocations: 27.98 kB / 0.9687 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004227/0.8878, allocations: 5.369 MB / 0.9739 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.8879, allocations: 7.938 kB / 0.9739 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.8901, allocations: 1.738 MB / 0.9756 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005351/0.8907, allocations: 319.2 kB / 0.9759 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.8908, allocations: 24 kB / 0.976 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/0.8916, allocations: 33.05 kB / 0.976 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.8917, allocations: 72.36 kB / 0.9761 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.8918, allocations: 39.98 kB / 0.9761 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001061/0.8928, allocations: 0.8421 MB / 0.9769 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8929, allocations: 0 / 0.9769 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001402/0.8943, allocations: 408 kB / 0.9773 GB, free: 4.52 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.0005462/0.8948, allocations: 262.9 kB / 0.9776 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.897, allocations: 1.444 MB / 0.979 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.897, allocations: 0 / 0.979 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009258/0.898, allocations: 0.7939 MB / 0.9798 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/0.9017, allocations: 0.8971 MB / 0.9806 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/0.9063, allocations: 2.865 MB / 0.9834 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.9074, allocations: 1.359 MB / 0.9848 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001277/0.9087, allocations: 348.6 kB / 0.9851 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.909, allocations: 119.4 kB / 0.9852 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of SimCode: time 6.11e-07/0.909, allocations: 0 / 0.9852 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of Templates: time 0.05705/0.9661, allocations: 31.81 MB / 1.016 GB, free: 12.94 MB / 0.7325 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)