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.001593/0.001593, allocations: 103.6 kB / 16.4 MB, free: 6.426 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.001704/0.001704, allocations: 192.1 kB / 17.34 MB, free: 5.703 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8055/0.8055, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 66.28 kB / 0.582 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1596, allocations: 80.23 MB / 0.6604 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6049/0.7646, allocations: 214.6 MB / 0.8699 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02819/0.7928, allocations: 21.32 MB / 0.8907 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.7947, allocations: 55.62 kB / 0.8908 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.7972, allocations: 0.7415 MB / 0.8915 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.8079, allocations: 4.244 MB / 0.8957 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.8109, allocations: 1.059 MB / 0.8967 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005281/0.8162, allocations: 3.914 MB / 0.9005 GB, free: 15.97 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002713/0.819, allocations: 1.579 MB / 0.9021 GB, free: 14.36 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/0.8226, allocations: 1.646 MB / 0.9037 GB, free: 12.71 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003572/0.8262, allocations: 1.556 MB / 0.9052 GB, free: 11.16 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006669/0.8269, allocations: 160 kB / 0.9053 GB, free: 11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004227/0.8312, allocations: 1.824 MB / 0.9071 GB, free: 9.176 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.8324, allocations: 0.7442 MB / 0.9079 GB, free: 8.43 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.8344, allocations: 0.9527 MB / 0.9088 GB, free: 7.473 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005353/0.8397, allocations: 2.937 MB / 0.9117 GB, free: 4.527 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8398, allocations: 3.938 kB / 0.9117 GB, free: 4.523 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8398, allocations: 4 kB / 0.9117 GB, free: 4.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.495e-05/0.8399, allocations: 0 / 0.9117 GB, free: 4.52 MB / 0.67 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.004287/0.8442, allocations: 2.041 MB / 0.9137 GB, free: 2.422 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.8442, allocations: 12.03 kB / 0.9137 GB, free: 2.41 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/0.8467, allocations: 393.5 kB / 0.914 GB, free: 2.023 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.8491, allocations: 1.159 MB / 0.9152 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.994e-05/0.8492, allocations: 98.55 kB / 0.9153 GB, free: 0.707 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/0.8496, allocations: 139.9 kB / 0.9154 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002825/0.8524, allocations: 1.579 MB / 0.9169 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.8524, allocations: 8 kB / 0.9169 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.8526, allocations: 55.98 kB / 0.917 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.508e-05/0.8527, allocations: 46.45 kB / 0.917 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.8549, allocations: 1.298 MB / 0.9183 GB, free: 13.5 MB / 0.6856 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.008531/0.8635, allocations: 6.477 MB / 0.9246 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.8649, allocations: 0.9355 MB / 0.9256 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006689/0.8656, allocations: 491.5 kB / 0.926 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007594/0.8663, allocations: 417 kB / 0.9264 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.8664, allocations: 39.22 kB / 0.9265 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/0.8664, allocations: 0 / 0.9265 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.005539/0.872, allocations: 2.94 MB / 0.9293 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.872, allocations: 68.34 kB / 0.9294 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.8737, allocations: 1.197 MB / 0.9306 GB, free: 312 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.8738, allocations: 49.64 kB / 0.9306 GB, free: 256 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005492/0.8744, allocations: 0.68 MB / 0.9313 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.8747, allocations: 299.6 kB / 0.9316 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003074/0.875, allocations: 190.5 kB / 0.9317 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.8751, allocations: 357.9 kB / 0.9321 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005889/0.8757, allocations: 373.8 kB / 0.9324 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008926/0.8766, allocations: 0.7286 MB / 0.9332 GB, free: 13.47 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.01235/0.889, allocations: 2.91 MB / 0.936 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.889, allocations: 4 kB / 0.936 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002318/0.8913, allocations: 1.301 MB / 0.9373 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.8914, allocations: 13.88 kB / 0.9373 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.8914, allocations: 8 kB / 0.9373 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002961/0.8917, allocations: 131.2 kB / 0.9374 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008288/0.8925, allocations: 211.7 kB / 0.9376 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004486/0.897, allocations: 5.378 MB / 0.9429 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.8984, allocations: 48.86 kB / 0.9429 GB, free: 2.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.8985, allocations: 47.98 kB / 0.943 GB, free: 2.863 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.0007907/0.8993, allocations: 425.5 kB / 0.9434 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.8997, allocations: 150.2 kB / 0.9435 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.9015, allocations: 1.096 MB / 0.9446 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.9016, allocations: 8 kB / 0.9446 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.9016, allocations: 0 / 0.9446 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001368/0.9029, allocations: 1.054 MB / 0.9456 GB, free: 56 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005562/0.9085, allocations: 3.082 MB / 0.9486 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.9086, allocations: 8 kB / 0.9486 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/0.9093, allocations: 159.8 kB / 0.9488 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002698/0.9096, allocations: 130.4 kB / 0.9489 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-05/0.9097, allocations: 28.36 kB / 0.9489 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004284/0.914, allocations: 5.354 MB / 0.9542 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.914, allocations: 4 kB / 0.9542 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.9166, allocations: 1.773 MB / 0.9559 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006528/0.9172, allocations: 319.2 kB / 0.9562 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.9175, allocations: 27.98 kB / 0.9562 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009232/0.9185, allocations: 20 kB / 0.9562 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.9186, allocations: 84.28 kB / 0.9563 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.788e-05/0.9187, allocations: 32 kB / 0.9564 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001293/0.92, allocations: 0.8461 MB / 0.9572 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.92, allocations: 0 / 0.9572 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001615/0.9216, allocations: 408 kB / 0.9576 GB, free: 3.051 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.0006067/0.9222, allocations: 248.3 kB / 0.9578 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001993/0.9243, allocations: 1.297 MB / 0.9591 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.9243, allocations: 4 kB / 0.9591 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009653/0.9252, allocations: 0.7893 MB / 0.9599 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/0.9291, allocations: 0.8977 MB / 0.9607 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00484/0.934, allocations: 2.922 MB / 0.9636 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.9351, allocations: 1.367 MB / 0.9649 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/0.9356, allocations: 115.4 kB / 0.965 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.9356, allocations: 0 / 0.965 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.05313/0.9887, allocations: 43.45 MB / 1.007 GB, free: 15.96 MB / 0.7794 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)