Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM") translateModel(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001156/0.001156, 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.001343/0.001344, allocations: 195.1 kB / 16.14 MB, free: 6.648 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 60.59 kB / 0.5047 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1756, allocations: 80.93 MB / 0.5837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5317/0.7074, allocations: 212.4 MB / 0.7911 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0312/0.7386, allocations: 21.48 MB / 0.8121 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00238/0.741, allocations: 43.75 kB / 0.8121 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.7447, allocations: 0.6178 MB / 0.8127 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01337/0.7581, allocations: 3.977 MB / 0.8166 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.7614, allocations: 0.9675 MB / 0.8176 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006418/0.7678, allocations: 5.374 MB / 0.8228 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/0.7703, allocations: 1.341 MB / 0.8241 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003923/0.7743, allocations: 1.443 MB / 0.8255 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004263/0.7786, allocations: 1.597 MB / 0.8271 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007304/0.7793, allocations: 88 kB / 0.8272 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006246/0.7856, allocations: 2.096 MB / 0.8292 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0017/0.7873, allocations: 0.6778 MB / 0.8299 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003582/0.7909, allocations: 0.8785 MB / 0.8307 GB, free: 324 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007242/0.7981, allocations: 2.96 MB / 0.8336 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7982, allocations: 0 / 0.8336 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7982, allocations: 0 / 0.8336 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000118/0.7983, allocations: 0 / 0.8336 GB, free: 13.35 MB / 0.6544 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.004809/0.8031, allocations: 2.055 MB / 0.8356 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.8032, allocations: 8.031 kB / 0.8356 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/0.8058, allocations: 401.5 kB / 0.836 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.808, allocations: 1.089 MB / 0.8371 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.209e-05/0.8081, allocations: 106.5 kB / 0.8372 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.8084, allocations: 139.8 kB / 0.8373 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/0.8114, allocations: 1.585 MB / 0.8389 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.8114, allocations: 0 / 0.8389 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.8116, allocations: 56 kB / 0.8389 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-05/0.8117, allocations: 50.44 kB / 0.839 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.8141, allocations: 1.29 MB / 0.8402 GB, free: 6.387 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.009613/0.8238, allocations: 6.485 MB / 0.8466 GB, free: 15.48 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.8253, allocations: 0.928 MB / 0.8475 GB, free: 14.55 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/0.826, allocations: 486.5 kB / 0.8479 GB, free: 14.07 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008133/0.8269, allocations: 416.9 kB / 0.8483 GB, free: 13.59 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.203e-05/0.8269, allocations: 43.22 kB / 0.8484 GB, free: 13.54 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.336e-06/0.827, allocations: 0 / 0.8484 GB, free: 13.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.006285/0.8332, allocations: 2.94 MB / 0.8512 GB, free: 10.49 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.8333, allocations: 68.41 kB / 0.8513 GB, free: 10.41 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.8352, allocations: 1.189 MB / 0.8525 GB, free: 9.203 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.8353, allocations: 49.7 kB / 0.8525 GB, free: 9.148 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/0.8359, allocations: 0.6722 MB / 0.8532 GB, free: 8.469 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.8362, allocations: 303.6 kB / 0.8535 GB, free: 8.168 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/0.8366, allocations: 198.5 kB / 0.8536 GB, free: 7.969 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.8367, allocations: 349.9 kB / 0.854 GB, free: 7.621 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.8373, allocations: 369.7 kB / 0.8543 GB, free: 7.262 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009377/0.8383, allocations: 0.7403 MB / 0.8551 GB, free: 6.367 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.01284/0.8511, allocations: 2.913 MB / 0.8579 GB, free: 3.332 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.8512, allocations: 4 kB / 0.8579 GB, free: 3.328 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002889/0.854, allocations: 1.296 MB / 0.8592 GB, free: 2.016 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.8541, allocations: 8 kB / 0.8592 GB, free: 2.008 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.8541, allocations: 8 kB / 0.8592 GB, free: 2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.8545, allocations: 135.1 kB / 0.8593 GB, free: 1.859 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008066/0.8553, allocations: 211.6 kB / 0.8595 GB, free: 1.652 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3643/1.22, allocations: 4.824 MB / 0.8642 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/1.221, allocations: 108.6 kB / 0.8643 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.221, allocations: 43.81 kB / 0.8644 GB, free: 218.6 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.0006814/1.222, allocations: 423.8 kB / 0.8648 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/1.222, allocations: 147.2 kB / 0.8649 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/1.224, allocations: 1.103 MB / 0.866 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/1.224, allocations: 13.19 kB / 0.866 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/1.224, allocations: 0 / 0.866 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/1.225, allocations: 1.052 MB / 0.867 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/1.23, allocations: 3.076 MB / 0.87 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/1.23, allocations: 5.594 kB / 0.87 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007064/1.231, allocations: 163.8 kB / 0.8702 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/1.231, allocations: 130.8 kB / 0.8703 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/1.231, allocations: 22.09 kB / 0.8703 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002879/1.234, allocations: 4.818 MB / 0.8751 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/1.234, allocations: 9.094 kB / 0.8751 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/1.236, allocations: 1.773 MB / 0.8768 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/1.237, allocations: 310.1 kB / 0.8771 GB, free: 211 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/1.237, allocations: 27.17 kB / 0.8771 GB, free: 211 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009135/1.238, allocations: 78.14 kB / 0.8772 GB, free: 210.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/1.238, allocations: 75.44 kB / 0.8773 GB, free: 210.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/1.238, allocations: 36.8 kB / 0.8773 GB, free: 210.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001065/1.239, allocations: 0.8449 MB / 0.8781 GB, free: 210.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.32e-07/1.239, allocations: 0 / 0.8781 GB, free: 210.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001495/1.241, allocations: 406.4 kB / 0.8785 GB, free: 210.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (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.0005144/1.241, allocations: 242.3 kB / 0.8787 GB, free: 210.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001671/1.243, allocations: 1.267 MB / 0.88 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.243, allocations: 2.719 kB / 0.88 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008076/1.244, allocations: 0.7896 MB / 0.8807 GB, free: 209.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003745/1.247, allocations: 0.8598 MB / 0.8816 GB, free: 209.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/1.252, allocations: 3.377 MB / 0.8849 GB, free: 207.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/1.253, allocations: 1.363 MB / 0.8862 GB, free: 206.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001422/1.254, allocations: 352 kB / 0.8866 GB, free: 206.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/1.254, allocations: 118.5 kB / 0.8867 GB, free: 206.5 MB / 0.67 GB Notification: Performance of SimCode: time 6.22e-07/1.254, allocations: 0 / 0.8867 GB, free: 206.5 MB / 0.67 GB Notification: Performance of Templates: time 0.0567/1.311, allocations: 30.55 MB / 0.9165 GB, free: 200.7 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)