Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure") translateModel(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00541/0.00541, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001143/0.001143, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8091/0.8091, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.52 kB / 0.5814 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1689, allocations: 80.2 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.5779/0.7469, allocations: 169.5 MB / 0.8252 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00793/0.7548, allocations: 7.308 MB / 0.8323 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009623/0.7558, allocations: 13.72 kB / 0.8323 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009184/0.7568, allocations: 211.7 kB / 0.8325 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.7585, allocations: 0.6061 MB / 0.8331 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.76, allocations: 428.2 kB / 0.8335 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009867/0.7609, allocations: 0.7073 MB / 0.8342 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.7614, allocations: 273.3 kB / 0.8345 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007389/0.7621, allocations: 390 kB / 0.8348 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.7624, allocations: 214 kB / 0.8351 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.7625, allocations: 20.56 kB / 0.8351 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.7637, allocations: 0.7054 MB / 0.8358 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.7638, allocations: 104.7 kB / 0.8359 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.764, allocations: 157.8 kB / 0.836 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0008286/0.7648, allocations: 0.582 MB / 0.8366 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.7649, allocations: 1.375 kB / 0.8366 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7649, allocations: 0.9062 kB / 0.8366 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.7649, allocations: 1.203 kB / 0.8366 GB, free: 3.391 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008431/0.7657, allocations: 0.6384 MB / 0.8372 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.7658, allocations: 10.33 kB / 0.8372 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.7662, allocations: 66.11 kB / 0.8373 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.7666, allocations: 327.8 kB / 0.8376 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.7666, allocations: 19.16 kB / 0.8376 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.7667, allocations: 23.31 kB / 0.8376 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.7672, allocations: 302.2 kB / 0.8379 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.7672, allocations: 2.188 kB / 0.8379 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.7672, allocations: 9.656 kB / 0.8379 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.7673, allocations: 7.031 kB / 0.8379 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.7676, allocations: 182.2 kB / 0.8381 GB, free: 2.523 MB / 0.6387 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.001306/0.7689, allocations: 1.694 MB / 0.8398 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.7692, allocations: 86.88 kB / 0.8398 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.7694, allocations: 84.59 kB / 0.8399 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.7696, allocations: 188.7 kB / 0.8401 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.7696, allocations: 36.5 kB / 0.8401 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.7696, allocations: 1.094 kB / 0.8401 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0006631/0.7703, allocations: 225 kB / 0.8404 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.7705, allocations: 54.88 kB / 0.8404 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.7708, allocations: 322.4 kB / 0.8407 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.7708, allocations: 30.45 kB / 0.8407 GB, free: 16.72 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.771, allocations: 197.5 kB / 0.8409 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.771, allocations: 38.25 kB / 0.841 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.7711, allocations: 50.52 kB / 0.841 GB, free: 16.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.7712, allocations: 338.5 kB / 0.8413 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.7714, allocations: 60.72 kB / 0.8414 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.7716, allocations: 196.3 kB / 0.8416 GB, free: 16.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.7719, allocations: 230.6 kB / 0.8418 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.7719, allocations: 2.281 kB / 0.8418 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004892/0.7724, allocations: 256.2 kB / 0.8421 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.7725, allocations: 8.312 kB / 0.8421 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7725, allocations: 2.781 kB / 0.8421 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.7725, allocations: 10.09 kB / 0.8421 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.7727, allocations: 54.94 kB / 0.8421 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.7727, allocations: 4.906 kB / 0.8421 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.773, allocations: 40.72 kB / 0.8422 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.7731, allocations: 10.25 kB / 0.8422 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002445/0.7733, allocations: 170.9 kB / 0.8423 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000232/0.7736, allocations: 199.2 kB / 0.8425 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003688/0.7739, allocations: 231.4 kB / 0.8428 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.7739, allocations: 1.969 kB / 0.8428 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005317/0.7745, allocations: 251.1 kB / 0.843 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.7745, allocations: 6.594 kB / 0.843 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7745, allocations: 4.312 kB / 0.843 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.7745, allocations: 4.469 kB / 0.843 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.7747, allocations: 49.5 kB / 0.8431 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.7747, allocations: 7.672 kB / 0.8431 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.775, allocations: 31.89 kB / 0.8431 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.7751, allocations: 14.72 kB / 0.8431 GB, free: 15.46 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.7752, allocations: 198.1 kB / 0.8433 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.7753, allocations: 28.72 kB / 0.8433 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004223/0.7757, allocations: 170.8 kB / 0.8435 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.7757, allocations: 2.281 kB / 0.8435 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7758, allocations: 1.469 kB / 0.8435 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7758, allocations: 0.75 kB / 0.8435 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/0.7768, allocations: 0.6149 MB / 0.8441 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.7768, allocations: 2.75 kB / 0.8441 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.7769, allocations: 26.94 kB / 0.8441 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.7769, allocations: 6.766 kB / 0.8441 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.7769, allocations: 7.859 kB / 0.8441 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.7769, allocations: 5.516 kB / 0.8441 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7769, allocations: 1.203 kB / 0.8441 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.7774, allocations: 305.5 kB / 0.8444 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.7775, allocations: 115.8 kB / 0.8445 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.7776, allocations: 7.594 kB / 0.8446 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.7778, allocations: 12.72 kB / 0.8446 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.7778, allocations: 19.39 kB / 0.8446 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.7778, allocations: 4.031 kB / 0.8446 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002407/0.7781, allocations: 224.5 kB / 0.8448 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7781, allocations: 0.75 kB / 0.8448 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006219/0.7787, allocations: 134.7 kB / 0.8449 GB, free: 14.45 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004413/0.7792, allocations: 170.8 kB / 0.8451 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005344/0.7797, allocations: 243.2 kB / 0.8453 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7797, allocations: 0 / 0.8453 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.7799, allocations: 69.27 kB / 0.8454 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007276/0.7806, allocations: 122.4 kB / 0.8455 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009507/0.7816, allocations: 0.493 MB / 0.846 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.782, allocations: 0.7792 MB / 0.8468 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000277/0.7823, allocations: 90 kB / 0.8468 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.7824, allocations: 29.97 kB / 0.8469 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.7824, allocations: 0.9062 kB / 0.8469 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.01045/0.7929, allocations: 4.908 MB / 0.8517 GB, free: 13.17 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)