Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002506/0.002506, allocations: 159.6 kB / 23.01 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8245/0.8245, allocations: 101.3 MB / 361.1 MB, free: 9.527 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 66.2 kB / 0.5356 GB, free: 5.297 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.194, allocations: 85.88 MB / 0.6195 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5744/0.7684, allocations: 147.6 MB / 0.7637 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003195/0.7716, allocations: 1.49 MB / 0.7651 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004422/0.7721, allocations: 16.44 kB / 0.7651 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.7727, allocations: 150.8 kB / 0.7653 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.7748, allocations: 0.7054 MB / 0.766 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.7766, allocations: 0.6175 MB / 0.7666 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009762/0.7775, allocations: 0.7093 MB / 0.7673 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003725/0.7779, allocations: 183.5 kB / 0.7674 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006475/0.7786, allocations: 350.5 kB / 0.7678 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.7789, allocations: 228.8 kB / 0.768 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.7789, allocations: 29.88 kB / 0.768 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.7805, allocations: 0.7176 MB / 0.7687 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.7806, allocations: 112 kB / 0.7688 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.7808, allocations: 134.3 kB / 0.7689 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.7819, allocations: 0.7019 MB / 0.7696 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.7819, allocations: 4 kB / 0.7696 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.644e-06/0.7819, allocations: 0 / 0.7696 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.7819, allocations: 0 / 0.7696 GB, free: 0.6328 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009971/0.7829, allocations: 0.5865 MB / 0.7702 GB, free: 140 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7829, allocations: 8.625 kB / 0.7702 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.7841, allocations: 165 kB / 0.7704 GB, free: 56 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.7846, allocations: 258.8 kB / 0.7706 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.7847, allocations: 16.84 kB / 0.7706 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.7847, allocations: 27.69 kB / 0.7707 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.7852, allocations: 280.3 kB / 0.7709 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.7852, allocations: 0 / 0.7709 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.7852, allocations: 10.59 kB / 0.7709 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.7852, allocations: 5.656 kB / 0.7709 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.7857, allocations: 192.3 kB / 0.7711 GB, free: 15.52 MB / 0.6231 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.001429/0.7871, allocations: 0.9336 MB / 0.772 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.7874, allocations: 124.8 kB / 0.7722 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.7876, allocations: 86.55 kB / 0.7722 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004859/0.7881, allocations: 77.34 kB / 0.7723 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.7881, allocations: 34.5 kB / 0.7723 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.7881, allocations: 0 / 0.7723 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0008082/0.7889, allocations: 286.9 kB / 0.7726 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.7889, allocations: 51.41 kB / 0.7727 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.7892, allocations: 242.1 kB / 0.7729 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.7893, allocations: 32.23 kB / 0.7729 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.7894, allocations: 184.3 kB / 0.7731 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/0.7895, allocations: 59.36 kB / 0.7732 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.94e-05/0.7896, allocations: 41.17 kB / 0.7732 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.7898, allocations: 332.8 kB / 0.7735 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.7899, allocations: 65.95 kB / 0.7736 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.7902, allocations: 205.1 kB / 0.7738 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.7906, allocations: 188.7 kB / 0.774 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7906, allocations: 0 / 0.774 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000488/0.7911, allocations: 238.2 kB / 0.7742 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.7911, allocations: 6.844 kB / 0.7742 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.7911, allocations: 0 / 0.7742 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.7911, allocations: 6.812 kB / 0.7742 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.7913, allocations: 40.08 kB / 0.7742 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.7913, allocations: 14.58 kB / 0.7743 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.7915, allocations: 24.09 kB / 0.7743 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.7915, allocations: 11.14 kB / 0.7743 GB, free: 13.03 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001732/0.7917, allocations: 153.3 kB / 0.7744 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.7918, allocations: 26.05 kB / 0.7745 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.7922, allocations: 215.1 kB / 0.7747 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.7922, allocations: 6.703 kB / 0.7747 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7922, allocations: 0 / 0.7747 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.7922, allocations: 0 / 0.7747 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.7933, allocations: 0.6064 MB / 0.7753 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.7933, allocations: 2.719 kB / 0.7753 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.7935, allocations: 35.77 kB / 0.7753 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.7935, allocations: 3 kB / 0.7753 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.7935, allocations: 6.75 kB / 0.7753 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.7935, allocations: 2.625 kB / 0.7753 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7935, allocations: 2.531 kB / 0.7753 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.7942, allocations: 430.9 kB / 0.7757 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/0.7943, allocations: 37 kB / 0.7758 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.7943, allocations: 7 kB / 0.7758 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.7945, allocations: 13.17 kB / 0.7758 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.7945, allocations: 20.08 kB / 0.7758 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.7945, allocations: 5.281 kB / 0.7758 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001832/0.7947, allocations: 175.5 kB / 0.776 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.7947, allocations: 4.062 kB / 0.776 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004444/0.7952, allocations: 90.78 kB / 0.7761 GB, free: 11.72 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.0003017/0.7955, allocations: 144.4 kB / 0.7762 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004286/0.7959, allocations: 164.9 kB / 0.7764 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7959, allocations: 0 / 0.7764 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.7961, allocations: 85.73 kB / 0.7764 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/0.7968, allocations: 131.5 kB / 0.7766 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.7979, allocations: 0.5864 MB / 0.7771 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.798, allocations: 173.8 kB / 0.7773 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.7982, allocations: 51.41 kB / 0.7773 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.7983, allocations: 21.78 kB / 0.7774 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.7983, allocations: 0 / 0.7774 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of Templates: time 0.009955/0.8082, allocations: 4.759 MB / 0.782 GB, free: 8.465 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.325780680053867] Failed to read output from testmodel.py, exit status != 0: 0.8164042969001457 0.8304989939999999 0.045566728 Calling exit ...