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.004809/0.004809, allocations: 99.98 kB / 15.73 MB, free: 6.496 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.001179/0.001179, allocations: 199 kB / 16.68 MB, free: 6.375 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7964/0.7964, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 63.91 kB / 0.5814 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/0.5237, allocations: 80.19 MB / 0.6597 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.7022/1.226, allocations: 214.6 MB / 0.8693 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02434/1.25, allocations: 21.33 MB / 0.8901 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/1.253, allocations: 49.41 kB / 0.8901 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002084/1.255, allocations: 0.7664 MB / 0.8909 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01153/1.266, allocations: 4.389 MB / 0.8952 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00469/1.271, allocations: 1.074 MB / 0.8962 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008504/1.279, allocations: 3.917 MB / 0.9 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003111/1.283, allocations: 1.578 MB / 0.9016 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004374/1.287, allocations: 1.678 MB / 0.9032 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003955/1.291, allocations: 1.568 MB / 0.9048 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005108/1.292, allocations: 162.2 kB / 0.9049 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/1.296, allocations: 1.836 MB / 0.9067 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000945/1.297, allocations: 0.7505 MB / 0.9074 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001631/1.299, allocations: 0.9559 MB / 0.9084 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004214/1.303, allocations: 2.929 MB / 0.9112 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.303, allocations: 3.219 kB / 0.9112 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.663e-06/1.303, allocations: 0 / 0.9112 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.72e-05/1.303, allocations: 0.9062 kB / 0.9112 GB, free: 1.098 MB / 0.6856 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.003025/1.306, allocations: 2.055 MB / 0.9132 GB, free: 16.09 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/1.306, allocations: 10.06 kB / 0.9132 GB, free: 16.09 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/1.308, allocations: 393.8 kB / 0.9136 GB, free: 16 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/1.31, allocations: 1.16 MB / 0.9148 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/1.31, allocations: 102.5 kB / 0.9149 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/1.31, allocations: 131.3 kB / 0.915 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/1.313, allocations: 1.581 MB / 0.9165 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/1.313, allocations: 9.109 kB / 0.9165 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/1.313, allocations: 56.36 kB / 0.9166 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/1.313, allocations: 53.52 kB / 0.9166 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/1.315, allocations: 1.291 MB / 0.9179 GB, free: 15.38 MB / 0.7012 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.007959/1.323, allocations: 6.473 MB / 0.9242 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/1.324, allocations: 0.9372 MB / 0.9251 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/1.325, allocations: 485.8 kB / 0.9256 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000716/1.325, allocations: 415.4 kB / 0.926 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.325, allocations: 44.72 kB / 0.926 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.895e-06/1.325, allocations: 0 / 0.926 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.005166/1.331, allocations: 2.942 MB / 0.9289 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/1.331, allocations: 63.31 kB / 0.929 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/1.332, allocations: 1.202 MB / 0.9301 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.75e-05/1.332, allocations: 41.92 kB / 0.9302 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004716/1.333, allocations: 0.683 MB / 0.9309 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/1.333, allocations: 296.1 kB / 0.9311 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/1.333, allocations: 192.9 kB / 0.9313 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.333, allocations: 351.7 kB / 0.9317 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005402/1.334, allocations: 371.3 kB / 0.932 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/1.335, allocations: 0.7319 MB / 0.9327 GB, free: 9.34 MB / 0.7012 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.01166/1.347, allocations: 2.918 MB / 0.9356 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/1.347, allocations: 3.188 kB / 0.9356 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002747/1.349, allocations: 1.299 MB / 0.9368 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/1.349, allocations: 9.469 kB / 0.9369 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/1.35, allocations: 8.875 kB / 0.9369 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003505/1.35, allocations: 135.2 kB / 0.937 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008776/1.351, allocations: 206.8 kB / 0.9372 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004823/1.356, allocations: 5.367 MB / 0.9424 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.357, allocations: 58.31 kB / 0.9425 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.73e-05/1.357, allocations: 51.69 kB / 0.9425 GB, free: 4.242 MB / 0.7012 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.000824/1.358, allocations: 431.4 kB / 0.9429 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/1.358, allocations: 140.2 kB / 0.9431 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/1.36, allocations: 1.099 MB / 0.9442 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/1.36, allocations: 13.09 kB / 0.9442 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/1.36, allocations: 0 / 0.9442 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001345/1.362, allocations: 1.052 MB / 0.9452 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005908/1.367, allocations: 3.082 MB / 0.9482 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.368, allocations: 4.938 kB / 0.9482 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000745/1.368, allocations: 155.6 kB / 0.9484 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000257/1.369, allocations: 134.9 kB / 0.9485 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/1.369, allocations: 25.83 kB / 0.9485 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004245/1.373, allocations: 5.364 MB / 0.9537 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.373, allocations: 8.75 kB / 0.9538 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/1.375, allocations: 1.768 MB / 0.9555 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006933/1.376, allocations: 317.9 kB / 0.9558 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/1.376, allocations: 25.31 kB / 0.9558 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009319/1.377, allocations: 25.86 kB / 0.9558 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/1.377, allocations: 75.27 kB / 0.9559 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-05/1.377, allocations: 38.45 kB / 0.9559 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001295/1.379, allocations: 0.846 MB / 0.9568 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/1.379, allocations: 0 / 0.9568 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001614/1.38, allocations: 418 kB / 0.9572 GB, free: 13.02 MB / 0.7169 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.0006442/1.381, allocations: 248.6 kB / 0.9574 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002045/1.383, allocations: 1.285 MB / 0.9587 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.383, allocations: 3.219 kB / 0.9587 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009679/1.384, allocations: 0.7903 MB / 0.9594 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/1.388, allocations: 0.8972 MB / 0.9603 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/1.393, allocations: 2.822 MB / 0.9631 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/1.394, allocations: 1.358 MB / 0.9644 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001331/1.396, allocations: 348.6 kB / 0.9647 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/1.396, allocations: 111.4 kB / 0.9648 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/1.396, allocations: 4 kB / 0.9648 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of Templates: time 0.0568/1.453, allocations: 32.15 MB / 0.9962 GB, free: 8.141 MB / 0.7481 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)