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.005027/0.005027, allocations: 101 kB / 15.73 MB, free: 5.996 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.001041/0.001041, allocations: 185.3 kB / 16.67 MB, free: 5.93 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7755/0.7755, allocations: 132.2 MB / 422.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.84 kB / 0.5814 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1897, allocations: 80.19 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6112/0.8009, allocations: 214.6 MB / 0.8693 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02302/0.824, allocations: 21.31 MB / 0.8901 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003101/0.8272, allocations: 51.25 kB / 0.8901 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.8301, allocations: 0.741 MB / 0.8909 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.842, allocations: 4.242 MB / 0.895 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.8451, allocations: 1.074 MB / 0.896 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005521/0.8506, allocations: 3.906 MB / 0.8999 GB, free: 320 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.8528, allocations: 1.571 MB / 0.9014 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003379/0.8562, allocations: 1.63 MB / 0.903 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003228/0.8594, allocations: 1.552 MB / 0.9045 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003097/0.8597, allocations: 162.8 kB / 0.9047 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004431/0.8642, allocations: 1.819 MB / 0.9064 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008826/0.8651, allocations: 0.7388 MB / 0.9072 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.8664, allocations: 0.9533 MB / 0.9081 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004814/0.8712, allocations: 2.954 MB / 0.911 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8713, allocations: 0 / 0.911 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8713, allocations: 1.844 kB / 0.911 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.748e-05/0.8713, allocations: 0 / 0.911 GB, free: 11.85 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.003447/0.8748, allocations: 2.1 MB / 0.913 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.8748, allocations: 10 kB / 0.913 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.877, allocations: 402.6 kB / 0.9134 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.879, allocations: 1.163 MB / 0.9146 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.8792, allocations: 110.2 kB / 0.9147 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.8794, allocations: 141.9 kB / 0.9148 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.882, allocations: 1.577 MB / 0.9163 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/0.8821, allocations: 5.25 kB / 0.9163 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.8822, allocations: 57.02 kB / 0.9164 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.936e-05/0.8823, allocations: 53.84 kB / 0.9164 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.8841, allocations: 1.303 MB / 0.9177 GB, free: 7.574 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.006936/0.891, allocations: 6.48 MB / 0.924 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.8924, allocations: 0.9393 MB / 0.925 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.8931, allocations: 487.8 kB / 0.9254 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006862/0.8938, allocations: 410.5 kB / 0.9258 GB, free: 15.89 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.8938, allocations: 47.22 kB / 0.9259 GB, free: 15.83 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/0.8938, allocations: 0 / 0.9259 GB, free: 15.83 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.005229/0.8991, allocations: 2.964 MB / 0.9288 GB, free: 12.76 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.8991, allocations: 60.41 kB / 0.9288 GB, free: 12.69 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.9005, allocations: 1.2 MB / 0.93 GB, free: 11.47 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.219e-05/0.9006, allocations: 45.7 kB / 0.93 GB, free: 11.42 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/0.9011, allocations: 0.6952 MB / 0.9307 GB, free: 10.73 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.9014, allocations: 317.6 kB / 0.931 GB, free: 10.42 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002893/0.9017, allocations: 190.6 kB / 0.9312 GB, free: 10.23 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.9018, allocations: 345.9 kB / 0.9315 GB, free: 9.883 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005355/0.9024, allocations: 373.8 kB / 0.9319 GB, free: 9.516 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008276/0.9032, allocations: 0.7376 MB / 0.9326 GB, free: 8.637 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.01067/0.9139, allocations: 2.911 MB / 0.9354 GB, free: 5.629 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9139, allocations: 0 / 0.9354 GB, free: 5.629 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002078/0.916, allocations: 1.313 MB / 0.9367 GB, free: 4.352 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.916, allocations: 8 kB / 0.9367 GB, free: 4.344 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.916, allocations: 11.94 kB / 0.9367 GB, free: 4.332 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002783/0.9163, allocations: 137 kB / 0.9369 GB, free: 4.191 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007175/0.917, allocations: 200.7 kB / 0.9371 GB, free: 4.008 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/0.9212, allocations: 5.378 MB / 0.9423 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.9224, allocations: 51.98 kB / 0.9424 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.9225, allocations: 48 kB / 0.9424 GB, free: 14.15 MB / 0.6856 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.0007124/0.9232, allocations: 427.2 kB / 0.9428 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.9234, allocations: 151.1 kB / 0.943 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.9251, allocations: 1.091 MB / 0.944 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.9252, allocations: 10.62 kB / 0.944 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9252, allocations: 7.922 kB / 0.9441 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001267/0.9264, allocations: 1.049 MB / 0.9451 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005252/0.9317, allocations: 3.082 MB / 0.9481 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.737e-05/0.9318, allocations: 12.03 kB / 0.9481 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/0.9325, allocations: 166.8 kB / 0.9483 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002707/0.9328, allocations: 122.5 kB / 0.9484 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.895e-05/0.9329, allocations: 27.98 kB / 0.9484 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004374/0.9372, allocations: 5.356 MB / 0.9536 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.9373, allocations: 11.19 kB / 0.9536 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/0.9398, allocations: 1.771 MB / 0.9554 GB, free: 192 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007449/0.9406, allocations: 332.2 kB / 0.9557 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003481/0.9409, allocations: 24 kB / 0.9557 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.942, allocations: 34.56 kB / 0.9557 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.9421, allocations: 74.45 kB / 0.9558 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/0.9422, allocations: 39.98 kB / 0.9559 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001425/0.9436, allocations: 0.85 MB / 0.9567 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9437, allocations: 0 / 0.9567 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002462/0.9461, allocations: 403.9 kB / 0.9571 GB, free: 14.44 MB / 0.7012 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.0008573/0.947, allocations: 257.3 kB / 0.9573 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002466/0.9495, allocations: 1.287 MB / 0.9586 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.9495, allocations: 0 / 0.9586 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.9507, allocations: 0.7972 MB / 0.9593 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/0.955, allocations: 0.8945 MB / 0.9602 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/0.9599, allocations: 2.865 MB / 0.963 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.9611, allocations: 1.362 MB / 0.9644 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001397/0.9625, allocations: 356.6 kB / 0.9647 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/0.9629, allocations: 111.4 kB / 0.9648 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of SimCode: time 6.71e-07/0.9629, allocations: 0 / 0.9648 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of Templates: time 0.05328/1.016, allocations: 32.15 MB / 0.9962 GB, free: 6.883 MB / 0.7325 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)