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.00119/0.00119, 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.0009974/0.0009974, allocations: 195.5 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7376/0.7376, allocations: 132.2 MB / 422.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.001231, allocations: 67.52 kB / 0.5018 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4082, allocations: 80.2 MB / 0.5801 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.2399/0.6482, allocations: 214.6 MB / 0.7897 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02762/0.6758, allocations: 21.33 MB / 0.8105 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.6781, allocations: 51.69 kB / 0.8105 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.6802, allocations: 0.7337 MB / 0.8113 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.3926/1.073, allocations: 4.234 MB / 0.8154 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003255/1.076, allocations: 1.061 MB / 0.8164 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006476/1.083, allocations: 3.903 MB / 0.8202 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/1.086, allocations: 1.575 MB / 0.8218 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004364/1.09, allocations: 1.618 MB / 0.8234 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004762/1.095, allocations: 1.544 MB / 0.8249 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005567/1.095, allocations: 163.3 kB / 0.825 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00475/1.1, allocations: 1.823 MB / 0.8268 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001104/1.101, allocations: 0.7439 MB / 0.8275 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002285/1.104, allocations: 0.9557 MB / 0.8285 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005565/1.109, allocations: 2.897 MB / 0.8313 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/1.109, allocations: 2.156 kB / 0.8313 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.635e-06/1.109, allocations: 0 / 0.8313 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.139e-05/1.109, allocations: 0 / 0.8313 GB, free: 4.555 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.003587/1.113, allocations: 2.041 MB / 0.8333 GB, free: 19.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/1.113, allocations: 12.31 kB / 0.8333 GB, free: 19.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/1.115, allocations: 398 kB / 0.8337 GB, free: 19.49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/1.117, allocations: 1.093 MB / 0.8348 GB, free: 19.1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/1.117, allocations: 105.6 kB / 0.8349 GB, free: 19.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/1.117, allocations: 138.7 kB / 0.835 GB, free: 19.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/1.119, allocations: 1.589 MB / 0.8365 GB, free: 18.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/1.119, allocations: 3.094 kB / 0.8365 GB, free: 18.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/1.119, allocations: 56.16 kB / 0.8366 GB, free: 18.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/1.119, allocations: 56.67 kB / 0.8366 GB, free: 18.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/1.121, allocations: 1.293 MB / 0.8379 GB, free: 18.86 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.006985/1.128, allocations: 6.509 MB / 0.8443 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/1.129, allocations: 0.9503 MB / 0.8452 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/1.13, allocations: 484.3 kB / 0.8457 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006992/1.13, allocations: 417.9 kB / 0.8461 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/1.13, allocations: 44.62 kB / 0.8461 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.424e-06/1.13, allocations: 0.9062 kB / 0.8461 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.004921/1.135, allocations: 2.934 MB / 0.849 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/1.135, allocations: 61.78 kB / 0.849 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/1.137, allocations: 1.197 MB / 0.8502 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/1.137, allocations: 45.33 kB / 0.8502 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/1.137, allocations: 0.6786 MB / 0.8509 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/1.137, allocations: 308 kB / 0.8512 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/1.138, allocations: 193.2 kB / 0.8514 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.138, allocations: 350.5 kB / 0.8517 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/1.138, allocations: 373.2 kB / 0.8521 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006735/1.139, allocations: 0.7277 MB / 0.8528 GB, free: 12.83 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.01156/1.151, allocations: 2.924 MB / 0.8556 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/1.151, allocations: 2.812 kB / 0.8556 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002243/1.153, allocations: 1.295 MB / 0.8569 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.153, allocations: 11.03 kB / 0.8569 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/1.153, allocations: 10.5 kB / 0.8569 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002787/1.153, allocations: 139 kB / 0.8571 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/1.154, allocations: 206.2 kB / 0.8572 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004406/1.158, allocations: 5.365 MB / 0.8625 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/1.16, allocations: 52.62 kB / 0.8625 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/1.16, allocations: 44.22 kB / 0.8626 GB, free: 7.789 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 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.000927/1.161, allocations: 435.7 kB / 0.863 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004115/1.162, allocations: 140.8 kB / 0.8631 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/1.163, allocations: 1.091 MB / 0.8642 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.163, allocations: 7.406 kB / 0.8642 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.163, allocations: 0.9375 kB / 0.8642 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00126/1.165, allocations: 1.059 MB / 0.8652 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006393/1.171, allocations: 3.075 MB / 0.8682 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.171, allocations: 7.375 kB / 0.8682 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007166/1.172, allocations: 165.4 kB / 0.8684 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002886/1.172, allocations: 129.3 kB / 0.8685 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/1.172, allocations: 27.88 kB / 0.8686 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004334/1.177, allocations: 5.365 MB / 0.8738 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.177, allocations: 8.781 kB / 0.8738 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/1.179, allocations: 1.771 MB / 0.8755 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008702/1.18, allocations: 318.7 kB / 0.8758 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004048/1.18, allocations: 24.7 kB / 0.8759 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.181, allocations: 30.25 kB / 0.8759 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/1.182, allocations: 72.39 kB / 0.876 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.407e-05/1.182, allocations: 37.44 kB / 0.876 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001435/1.183, allocations: 0.843 MB / 0.8768 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.62e-07/1.183, allocations: 0.8125 kB / 0.8768 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001896/1.185, allocations: 410.2 kB / 0.8772 GB, free: 1.137 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.000648/1.186, allocations: 255.1 kB / 0.8775 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002258/1.188, allocations: 1.456 MB / 0.8789 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.188, allocations: 3.656 kB / 0.8789 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009134/1.189, allocations: 0.7893 MB / 0.8796 GB, free: 340 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004451/1.193, allocations: 0.899 MB / 0.8805 GB, free: 228 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/1.198, allocations: 2.858 MB / 0.8833 GB, free: 14.96 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/1.2, allocations: 1.36 MB / 0.8846 GB, free: 14.23 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00153/1.201, allocations: 352.5 kB / 0.885 GB, free: 14.15 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003515/1.202, allocations: 113.3 kB / 0.8851 GB, free: 14.14 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/1.202, allocations: 0 / 0.8851 GB, free: 14.14 MB / 0.67 GB Notification: Performance of Templates: time 0.05378/1.255, allocations: 31.86 MB / 0.9162 GB, free: 6.293 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)