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.0009283/0.0009283, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.372/1.372, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9222/0.9222, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004098, allocations: 8 kB / 0.5082 GB, free: 4.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1659, allocations: 82.31 MB / 0.5886 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.5184/0.6844, allocations: 165 MB / 0.7498 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009432/0.6939, allocations: 7.237 MB / 0.7568 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.6944, allocations: 10.38 kB / 0.7568 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007317/0.6952, allocations: 167.6 kB / 0.757 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.6969, allocations: 0.5473 MB / 0.7575 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.6981, allocations: 380.2 kB / 0.7579 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.6994, allocations: 1.031 MB / 0.7589 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.6997, allocations: 225.8 kB / 0.7591 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007365/0.7005, allocations: 340.3 kB / 0.7594 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.7008, allocations: 227.5 kB / 0.7597 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.7008, allocations: 9.406 kB / 0.7597 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.7022, allocations: 0.7746 MB / 0.7604 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.7024, allocations: 105.1 kB / 0.7605 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.7026, allocations: 171.3 kB / 0.7607 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.7032, allocations: 399.9 kB / 0.7611 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7033, allocations: 3.938 kB / 0.7611 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.925e-06/0.7033, allocations: 0 / 0.7611 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.7033, allocations: 0 / 0.7611 GB, free: 11.85 MB / 0.5762 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.0009849/0.7043, allocations: 0.5919 MB / 0.7617 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.7043, allocations: 12.03 kB / 0.7617 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.7047, allocations: 55.59 kB / 0.7617 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.7051, allocations: 310.1 kB / 0.762 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.7052, allocations: 12.44 kB / 0.762 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.7052, allocations: 31.94 kB / 0.7621 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.7057, allocations: 304.6 kB / 0.7623 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.7058, allocations: 3.938 kB / 0.7624 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.7058, allocations: 11.94 kB / 0.7624 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.7058, allocations: 8 kB / 0.7624 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.7062, allocations: 191.7 kB / 0.7626 GB, free: 10.21 MB / 0.5762 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.001768/0.708, allocations: 1.708 MB / 0.7642 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.7083, allocations: 94.56 kB / 0.7643 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.7085, allocations: 92.69 kB / 0.7644 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.7088, allocations: 186.2 kB / 0.7646 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.7088, allocations: 38.56 kB / 0.7646 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.7088, allocations: 0 / 0.7646 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0007066/0.7095, allocations: 245.1 kB / 0.7649 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/0.7096, allocations: 51.41 kB / 0.7649 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.7099, allocations: 320.5 kB / 0.7652 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.71, allocations: 25.7 kB / 0.7652 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.7102, allocations: 195.8 kB / 0.7654 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.7102, allocations: 39.45 kB / 0.7655 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.7102, allocations: 21.7 kB / 0.7655 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7104, allocations: 342.8 kB / 0.7658 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.7105, allocations: 63.95 kB / 0.7659 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.7108, allocations: 195.5 kB / 0.766 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.7111, allocations: 249.5 kB / 0.7663 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7111, allocations: 0 / 0.7663 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004873/0.7116, allocations: 272.9 kB / 0.7665 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.7118, allocations: 194.2 kB / 0.7667 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.7118, allocations: 4 kB / 0.7667 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.7118, allocations: 4 kB / 0.7667 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.712, allocations: 55.91 kB / 0.7668 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.712, allocations: 4 kB / 0.7668 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.7123, allocations: 47.67 kB / 0.7668 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.7123, allocations: 12 kB / 0.7669 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-06/0.7123, allocations: 4 kB / 0.7669 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003963/0.7127, allocations: 211.5 kB / 0.7671 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7128, allocations: 7.938 kB / 0.7671 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.7128, allocations: 4 kB / 0.7671 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.7129, allocations: 47.91 kB / 0.7671 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.713, allocations: 7.938 kB / 0.7671 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.7132, allocations: 42.14 kB / 0.7672 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.7133, allocations: 12 kB / 0.7672 GB, free: 5.094 MB / 0.5762 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.0001704/0.7134, allocations: 237 kB / 0.7674 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.7135, allocations: 31.56 kB / 0.7674 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/0.7139, allocations: 181.5 kB / 0.7676 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7139, allocations: 0 / 0.7676 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7139, allocations: 0 / 0.7676 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7139, allocations: 3.938 kB / 0.7676 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009108/0.7149, allocations: 0.6094 MB / 0.7682 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.7149, allocations: 4.219 kB / 0.7682 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.715, allocations: 39.91 kB / 0.7682 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.715, allocations: 4 kB / 0.7682 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.715, allocations: 4 kB / 0.7683 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.715, allocations: 0 / 0.7683 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.715, allocations: 4 kB / 0.7683 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.7154, allocations: 320.9 kB / 0.7686 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.7156, allocations: 113.1 kB / 0.7687 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.7156, allocations: 5.25 kB / 0.7687 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.7158, allocations: 19.83 kB / 0.7687 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.7159, allocations: 23.86 kB / 0.7687 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.7159, allocations: 8 kB / 0.7687 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002253/0.7161, allocations: 227 kB / 0.7689 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7161, allocations: 0 / 0.7689 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005901/0.7167, allocations: 123.8 kB / 0.7691 GB, free: 3.016 MB / 0.5762 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.0003911/0.7171, allocations: 160.7 kB / 0.7692 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005907/0.7177, allocations: 261 kB / 0.7695 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7177, allocations: 0 / 0.7695 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.7179, allocations: 71.89 kB / 0.7695 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.7189, allocations: 140.8 kB / 0.7697 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009194/0.7199, allocations: 0.6358 MB / 0.7703 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.7203, allocations: 0.7719 MB / 0.771 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.7204, allocations: 31.44 kB / 0.7711 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of SimCode: time 4.2e-07/0.7204, allocations: 0 / 0.7711 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of Templates: time 0.007628/0.728, allocations: 4.455 MB / 0.7754 GB, free: 12.49 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.makefile (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)