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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_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.001079/0.001079, allocations: 108 kB / 15.6 MB, free: 132 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.001076/0.001076, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002113/0.002113, allocations: 286.5 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9256/0.9256, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 97.05 kB / 0.5953 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1746, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.6236/0.7982, allocations: 214.6 MB / 0.8899 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02738/0.8256, allocations: 21.34 MB / 0.9107 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.8279, allocations: 52.22 kB / 0.9108 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.8305, allocations: 0.7398 MB / 0.9115 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.8426, allocations: 4.244 MB / 0.9156 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003375/0.846, allocations: 1.052 MB / 0.9167 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005787/0.8518, allocations: 3.918 MB / 0.9205 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/0.8546, allocations: 1.569 MB / 0.922 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/0.8588, allocations: 1.611 MB / 0.9236 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003739/0.8625, allocations: 1.551 MB / 0.9251 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006545/0.8632, allocations: 160 kB / 0.9253 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004259/0.8675, allocations: 1.824 MB / 0.927 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.8687, allocations: 0.7403 MB / 0.9278 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002052/0.8708, allocations: 0.9566 MB / 0.9287 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005312/0.8761, allocations: 2.894 MB / 0.9315 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.8761, allocations: 3.938 kB / 0.9315 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8761, allocations: 4 kB / 0.9315 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001006/0.8762, allocations: 0 / 0.9315 GB, free: 5.887 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.004062/0.8803, allocations: 2.038 MB / 0.9335 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.8804, allocations: 12.02 kB / 0.9335 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002864/0.8807, allocations: 190.1 kB / 0.9337 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.8829, allocations: 405.4 kB / 0.9341 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.885, allocations: 1.097 MB / 0.9352 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.842e-05/0.8851, allocations: 102.6 kB / 0.9353 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002449/0.8854, allocations: 136 kB / 0.9354 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.8881, allocations: 1.596 MB / 0.937 GB, free: 132 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.8882, allocations: 0 / 0.937 GB, free: 132 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.8883, allocations: 56 kB / 0.937 GB, free: 76 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.806e-05/0.8884, allocations: 50.39 kB / 0.9371 GB, free: 24 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.8906, allocations: 1.294 MB / 0.9383 GB, free: 14.72 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.008969/0.8995, allocations: 6.523 MB / 0.9447 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.9013, allocations: 0.9535 MB / 0.9456 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007746/0.9021, allocations: 478.5 kB / 0.9461 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007786/0.9029, allocations: 413 kB / 0.9465 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.9029, allocations: 43.22 kB / 0.9465 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.755e-06/0.9029, allocations: 0 / 0.9465 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.005659/0.9086, allocations: 2.94 MB / 0.9494 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.9086, allocations: 68.39 kB / 0.9494 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.9104, allocations: 1.193 MB / 0.9506 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.9105, allocations: 45.7 kB / 0.9507 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005577/0.9111, allocations: 0.6799 MB / 0.9513 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.9114, allocations: 303.6 kB / 0.9516 GB, free: 444 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/0.9117, allocations: 194.6 kB / 0.9518 GB, free: 244 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.9119, allocations: 345.9 kB / 0.9521 GB, free: 15.89 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000613/0.9125, allocations: 377.8 kB / 0.9525 GB, free: 15.52 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009342/0.9134, allocations: 0.7191 MB / 0.9532 GB, free: 14.66 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.01221/0.9257, allocations: 2.927 MB / 0.956 GB, free: 11.61 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.9257, allocations: 4 kB / 0.956 GB, free: 11.61 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002324/0.928, allocations: 1.305 MB / 0.9573 GB, free: 10.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.9281, allocations: 8 kB / 0.9573 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.9281, allocations: 8 kB / 0.9573 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002866/0.9284, allocations: 128.1 kB / 0.9575 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.9292, allocations: 207.6 kB / 0.9577 GB, free: 9.938 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004858/0.934, allocations: 5.384 MB / 0.9629 GB, free: 4.141 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.9353, allocations: 43.89 kB / 0.963 GB, free: 4.098 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.9354, allocations: 51.92 kB / 0.963 GB, free: 4.047 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.0008088/0.9362, allocations: 429.4 kB / 0.9634 GB, free: 3.617 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.9366, allocations: 138.3 kB / 0.9635 GB, free: 3.48 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.9384, allocations: 1.1 MB / 0.9646 GB, free: 2.359 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.9384, allocations: 8 kB / 0.9646 GB, free: 2.352 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9384, allocations: 7.938 kB / 0.9646 GB, free: 2.344 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001351/0.9398, allocations: 1.054 MB / 0.9657 GB, free: 1.234 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005126/0.9449, allocations: 3.081 MB / 0.9687 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.945, allocations: 4 kB / 0.9687 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007206/0.9457, allocations: 156.5 kB / 0.9688 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/0.946, allocations: 130.6 kB / 0.969 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.529e-05/0.946, allocations: 31.98 kB / 0.969 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004362/0.9504, allocations: 5.362 MB / 0.9742 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.709e-06/0.9504, allocations: 16 kB / 0.9742 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.9529, allocations: 1.738 MB / 0.9759 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/0.9535, allocations: 319.2 kB / 0.9762 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/0.9538, allocations: 27.98 kB / 0.9763 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008223/0.9546, allocations: 29.06 kB / 0.9763 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.9548, allocations: 76.34 kB / 0.9764 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/0.9548, allocations: 32 kB / 0.9764 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001382/0.9562, allocations: 0.8461 MB / 0.9772 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9562, allocations: 0 / 0.9772 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001881/0.9581, allocations: 408 kB / 0.9776 GB, free: 4.246 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.003392/0.9615, allocations: 2.431 MB / 0.98 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002435/0.964, allocations: 1.448 MB / 0.9814 GB, free: 240 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.964, allocations: 4 kB / 0.9814 GB, free: 236 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000968/0.965, allocations: 0.8017 MB / 0.9822 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/0.969, allocations: 0.8895 MB / 0.9831 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/0.9883, allocations: 12.15 MB / 0.9949 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.9899, allocations: 1.363 MB / 0.9963 GB, free: 232 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001523/0.9914, allocations: 348.6 kB / 0.9966 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007555/0.9922, allocations: 0.55 MB / 0.9971 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of SimCode: time 1.102e-06/0.9922, allocations: 4 kB / 0.9971 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08857/1.081, allocations: 43.31 MB / 1.039 GB, free: 4.637 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.28, allocations: 22.41 kB / 1.039 GB, free: 4.617 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)