Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.PPM") translateModel(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009261/0.0009261, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007783/0.007783, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7781/0.7781, allocations: 132.4 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004769, allocations: 8 kB / 0.504 GB, free: 3.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4649/0.4654, allocations: 81.58 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.2466/0.712, allocations: 209.6 MB / 0.7883 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02697/0.739, allocations: 21.21 MB / 0.809 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.7413, allocations: 47.69 kB / 0.8091 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00275/0.7441, allocations: 0.6177 MB / 0.8097 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.757, allocations: 3.977 MB / 0.8135 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00365/0.7607, allocations: 0.9647 MB / 0.8145 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.4161/1.177, allocations: 5.361 MB / 0.8197 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003157/1.18, allocations: 1.289 MB / 0.821 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004753/1.185, allocations: 1.392 MB / 0.8223 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00546/1.19, allocations: 1.547 MB / 0.8239 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000629/1.191, allocations: 72.95 kB / 0.8239 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006349/1.197, allocations: 2.081 MB / 0.826 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001403/1.199, allocations: 0.6388 MB / 0.8266 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002216/1.201, allocations: 0.8638 MB / 0.8274 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005179/1.206, allocations: 2.913 MB / 0.8303 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/1.206, allocations: 8.875 kB / 0.8303 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.364e-06/1.206, allocations: 0 / 0.8303 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.993e-05/1.206, allocations: 0 / 0.8303 GB, free: 5.246 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.003748/1.21, allocations: 1.703 MB / 0.8319 GB, free: 20.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.21, allocations: 12.25 kB / 0.832 GB, free: 20.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/1.212, allocations: 392.9 kB / 0.8323 GB, free: 20.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/1.214, allocations: 1.106 MB / 0.8334 GB, free: 19.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.356e-05/1.215, allocations: 104 kB / 0.8335 GB, free: 19.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/1.215, allocations: 132.3 kB / 0.8336 GB, free: 19.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/1.217, allocations: 1.586 MB / 0.8352 GB, free: 19.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/1.217, allocations: 2.062 kB / 0.8352 GB, free: 19.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.218, allocations: 55.03 kB / 0.8352 GB, free: 19.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.457e-05/1.218, allocations: 55.67 kB / 0.8353 GB, free: 19.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/1.219, allocations: 1.296 MB / 0.8366 GB, free: 19.62 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.007594/1.227, allocations: 6.478 MB / 0.8429 GB, free: 16.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/1.228, allocations: 0.9419 MB / 0.8438 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005633/1.229, allocations: 479.3 kB / 0.8443 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000716/1.23, allocations: 430 kB / 0.8447 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/1.23, allocations: 47.72 kB / 0.8447 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/1.23, allocations: 0 / 0.8447 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.005773/1.235, allocations: 2.939 MB / 0.8476 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/1.236, allocations: 63.22 kB / 0.8476 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/1.237, allocations: 1.201 MB / 0.8488 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-05/1.237, allocations: 48.36 kB / 0.8489 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/1.238, allocations: 0.677 MB / 0.8495 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/1.238, allocations: 300.7 kB / 0.8498 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/1.238, allocations: 87.09 kB / 0.8499 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.238, allocations: 348.7 kB / 0.8502 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/1.239, allocations: 368.2 kB / 0.8506 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007482/1.239, allocations: 0.7366 MB / 0.8513 GB, free: 13.57 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.01191/1.251, allocations: 3.204 MB / 0.8544 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.251, allocations: 3 kB / 0.8544 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002255/1.254, allocations: 1.298 MB / 0.8557 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/1.254, allocations: 8.219 kB / 0.8557 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.254, allocations: 6.438 kB / 0.8557 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/1.254, allocations: 136.6 kB / 0.8558 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/1.255, allocations: 204.8 kB / 0.856 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/1.259, allocations: 4.821 MB / 0.8607 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/1.262, allocations: 106.5 kB / 0.8608 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/1.262, allocations: 48.5 kB / 0.8609 GB, free: 8.875 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.00123/1.263, allocations: 434.4 kB / 0.8613 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005183/1.264, allocations: 143.1 kB / 0.8614 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/1.266, allocations: 1.089 MB / 0.8625 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.266, allocations: 8.906 kB / 0.8625 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/1.266, allocations: 0 / 0.8625 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001291/1.267, allocations: 1.056 MB / 0.8635 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005862/1.273, allocations: 3.118 MB / 0.8666 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.273, allocations: 7.266 kB / 0.8666 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007689/1.274, allocations: 166.5 kB / 0.8668 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002784/1.274, allocations: 133.1 kB / 0.8669 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.806e-05/1.274, allocations: 28.34 kB / 0.8669 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003894/1.278, allocations: 4.814 MB / 0.8716 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.278, allocations: 10.91 kB / 0.8716 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/1.28, allocations: 1.767 MB / 0.8733 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007263/1.281, allocations: 310.1 kB / 0.8736 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/1.281, allocations: 23.47 kB / 0.8737 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009194/1.282, allocations: 80.61 kB / 0.8737 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/1.282, allocations: 84.83 kB / 0.8738 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/1.282, allocations: 31.42 kB / 0.8738 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001122/1.283, allocations: 0.8444 MB / 0.8747 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/1.283, allocations: 0 / 0.8747 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001608/1.285, allocations: 409.7 kB / 0.8751 GB, free: 2.633 MB / 0.6544 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.0005771/1.286, allocations: 256.4 kB / 0.8753 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001795/1.287, allocations: 1.274 MB / 0.8766 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.287, allocations: 0 / 0.8766 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009048/1.288, allocations: 0.7829 MB / 0.8773 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005085/1.293, allocations: 0.8609 MB / 0.8782 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/1.298, allocations: 3.449 MB / 0.8815 GB, free: 15.96 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009438/1.299, allocations: 1.357 MB / 0.8829 GB, free: 15.23 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001525/1.301, allocations: 355.6 kB / 0.8832 GB, free: 15.15 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/1.301, allocations: 111.5 kB / 0.8833 GB, free: 15.14 MB / 0.67 GB Notification: Performance of SimCode: time 8.92e-07/1.301, allocations: 0 / 0.8833 GB, free: 15.14 MB / 0.67 GB Notification: Performance of Templates: time 0.05454/1.356, allocations: 30.37 MB / 0.913 GB, free: 12.63 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)