Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure") translateModel(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008379/0.0008379, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0008972/0.0008974, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8687/0.8687, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003051, allocations: 8 kB / 0.5068 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1438, allocations: 82.32 MB / 0.5872 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.3702/0.514, allocations: 141.8 MB / 0.7257 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0069/0.5209, allocations: 5.985 MB / 0.7315 GB, free: 3.512 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.5212, allocations: 9.438 kB / 0.7315 GB, free: 3.508 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.5219, allocations: 230.7 kB / 0.7317 GB, free: 3.375 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.5232, allocations: 0.5165 MB / 0.7322 GB, free: 3.055 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.5243, allocations: 440.9 kB / 0.7327 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006075/0.5249, allocations: 440.4 kB / 0.7331 GB, free: 2.625 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.5252, allocations: 206.1 kB / 0.7333 GB, free: 2.551 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.5257, allocations: 255.7 kB / 0.7335 GB, free: 2.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.5259, allocations: 127.3 kB / 0.7336 GB, free: 2.379 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.5259, allocations: 10.59 kB / 0.7336 GB, free: 2.379 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007152/0.5266, allocations: 393.2 kB / 0.734 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.5267, allocations: 89.84 kB / 0.7341 GB, free: 2.238 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.968e-05/0.5268, allocations: 87.11 kB / 0.7342 GB, free: 2.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.5273, allocations: 344.5 kB / 0.7345 GB, free: 2.094 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.5273, allocations: 0 / 0.7345 GB, free: 2.094 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5273, allocations: 0 / 0.7345 GB, free: 2.094 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.5273, allocations: 0 / 0.7345 GB, free: 2.094 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007326/0.528, allocations: 0.5754 MB / 0.7351 GB, free: 1.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.5281, allocations: 7.656 kB / 0.7351 GB, free: 1.602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003216/0.5284, allocations: 67.11 kB / 0.7352 GB, free: 1.578 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.5288, allocations: 294.3 kB / 0.7354 GB, free: 1.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.5288, allocations: 18.72 kB / 0.7354 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.5288, allocations: 20.16 kB / 0.7355 GB, free: 1.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.5293, allocations: 311.5 kB / 0.7358 GB, free: 1.113 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5293, allocations: 10.86 kB / 0.7358 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.5293, allocations: 10.53 kB / 0.7358 GB, free: 1.098 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5293, allocations: 4.625 kB / 0.7358 GB, free: 1.098 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.5297, allocations: 185.7 kB / 0.736 GB, free: 1.043 MB / 0.545 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.001494/0.5312, allocations: 1.703 MB / 0.7376 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.5314, allocations: 104.1 kB / 0.7377 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.5315, allocations: 10.03 kB / 0.7377 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.5315, allocations: 35.22 kB / 0.7378 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.5315, allocations: 0 / 0.7378 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0006081/0.5321, allocations: 239.1 kB / 0.738 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.5322, allocations: 53.19 kB / 0.7381 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.5325, allocations: 322.8 kB / 0.7384 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.5325, allocations: 29.7 kB / 0.7384 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.5326, allocations: 194.4 kB / 0.7386 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.5327, allocations: 37.28 kB / 0.7386 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.5327, allocations: 7.938 kB / 0.7386 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5328, allocations: 343.9 kB / 0.7389 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.533, allocations: 56.2 kB / 0.739 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.5332, allocations: 195 kB / 0.7392 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.5333, allocations: 88.44 kB / 0.7393 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5334, allocations: 2.656 kB / 0.7393 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004265/0.5338, allocations: 262.2 kB / 0.7395 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004792/0.5343, allocations: 1.4 MB / 0.7409 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5343, allocations: 3.891 kB / 0.7409 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5343, allocations: 7.219 kB / 0.7409 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.5345, allocations: 48.75 kB / 0.7409 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.5345, allocations: 12.08 kB / 0.741 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.5348, allocations: 42.45 kB / 0.741 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.5348, allocations: 8.234 kB / 0.741 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/0.5348, allocations: 10.25 kB / 0.741 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003559/0.5352, allocations: 209.6 kB / 0.7412 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5352, allocations: 6.125 kB / 0.7412 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/0.5352, allocations: 6.188 kB / 0.7412 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.5353, allocations: 52.78 kB / 0.7413 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5354, allocations: 7.562 kB / 0.7413 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.5356, allocations: 38.62 kB / 0.7413 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.5356, allocations: 12.02 kB / 0.7413 GB, free: 12.64 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.5358, allocations: 235.2 kB / 0.7416 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.5358, allocations: 27.75 kB / 0.7416 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.5362, allocations: 182.8 kB / 0.7418 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5362, allocations: 0 / 0.7418 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.5362, allocations: 0.5156 kB / 0.7418 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5362, allocations: 0.7969 kB / 0.7418 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008438/0.5371, allocations: 0.6263 MB / 0.7424 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.5371, allocations: 2.531 kB / 0.7424 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.5372, allocations: 30.38 kB / 0.7424 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5372, allocations: 3.219 kB / 0.7424 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.5372, allocations: 2.875 kB / 0.7424 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.5373, allocations: 2.844 kB / 0.7424 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5373, allocations: 2.812 kB / 0.7424 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.5377, allocations: 406.5 kB / 0.7428 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.502e-05/0.5378, allocations: 108 kB / 0.7429 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.5378, allocations: 9.047 kB / 0.7429 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.538, allocations: 16.17 kB / 0.7429 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.538, allocations: 26.05 kB / 0.743 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.5381, allocations: 2.656 kB / 0.743 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001913/0.5383, allocations: 223.1 kB / 0.7432 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5383, allocations: 0 / 0.7432 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005098/0.5388, allocations: 140.8 kB / 0.7433 GB, free: 11.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002953/0.5391, allocations: 160.8 kB / 0.7435 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005033/0.5396, allocations: 262.4 kB / 0.7437 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5396, allocations: 0 / 0.7437 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.5397, allocations: 65.5 kB / 0.7438 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.5405, allocations: 143.6 kB / 0.7439 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007135/0.5412, allocations: 0.5764 MB / 0.7445 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.5416, allocations: 0.7835 MB / 0.7452 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002668/0.5418, allocations: 88.09 kB / 0.7453 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.5419, allocations: 28.56 kB / 0.7453 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5419, allocations: 0 / 0.7453 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of Templates: time 0.007624/0.5495, allocations: 4.578 MB / 0.7498 GB, free: 5.512 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1) Environment - environmentSimulation: