Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.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.0007962/0.0007962, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008361/0.0008361, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8746/0.8746, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7277/0.7277, allocations: 154.6 MB / 414.5 MB, free: 0.8633 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.573e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.3863/0.3864, allocations: 147.6 MB / 0.7634 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.3884, allocations: 1.503 MB / 0.7649 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.3886, allocations: 14.66 kB / 0.7649 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.389, allocations: 168.7 kB / 0.7651 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.3904, allocations: 0.7145 MB / 0.7658 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.3916, allocations: 0.6865 MB / 0.7665 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006263/0.3922, allocations: 0.7224 MB / 0.7672 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.3925, allocations: 191.2 kB / 0.7673 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008759/0.3934, allocations: 0.6063 MB / 0.7679 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.3936, allocations: 194.1 kB / 0.7681 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.3936, allocations: 23.53 kB / 0.7681 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008953/0.3945, allocations: 0.722 MB / 0.7688 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.3946, allocations: 116.2 kB / 0.769 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.3947, allocations: 122.4 kB / 0.7691 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008454/0.3956, allocations: 0.7357 MB / 0.7698 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3956, allocations: 0.75 kB / 0.7698 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3956, allocations: 0 / 0.7698 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3956, allocations: 5.5 kB / 0.7698 GB, free: 5.164 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006476/0.3962, allocations: 0.6013 MB / 0.7704 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3963, allocations: 9.844 kB / 0.7704 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006265/0.3969, allocations: 156.3 kB / 0.7705 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.3973, allocations: 261.5 kB / 0.7708 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.3973, allocations: 19.12 kB / 0.7708 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.3974, allocations: 23.61 kB / 0.7708 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.3977, allocations: 282.4 kB / 0.7711 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3977, allocations: 5.188 kB / 0.7711 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3978, allocations: 10.09 kB / 0.7711 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.3978, allocations: 9.656 kB / 0.7711 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.3981, allocations: 200 kB / 0.7713 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008739/0.3989, allocations: 0.9224 MB / 0.7722 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3991, allocations: 146.1 kB / 0.7724 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.3993, allocations: 92.12 kB / 0.7724 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/0.3995, allocations: 77.83 kB / 0.7725 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.3995, allocations: 33.44 kB / 0.7725 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.3995, allocations: 4 kB / 0.7726 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0005253/0.4001, allocations: 297.1 kB / 0.7728 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.4001, allocations: 53.19 kB / 0.7729 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.4003, allocations: 261.8 kB / 0.7731 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.4003, allocations: 31.02 kB / 0.7732 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.4004, allocations: 186.4 kB / 0.7733 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.4005, allocations: 64.06 kB / 0.7734 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.4006, allocations: 45.67 kB / 0.7734 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.4006, allocations: 337.9 kB / 0.7738 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.4007, allocations: 73.05 kB / 0.7738 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.4009, allocations: 199.9 kB / 0.774 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.4012, allocations: 201.5 kB / 0.7742 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4012, allocations: 0 / 0.7742 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003599/0.4016, allocations: 250.7 kB / 0.7745 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4016, allocations: 6.188 kB / 0.7745 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4016, allocations: 5.906 kB / 0.7745 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4016, allocations: 2.984 kB / 0.7745 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.4018, allocations: 49.23 kB / 0.7745 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.4018, allocations: 2.484 kB / 0.7745 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.4019, allocations: 27.34 kB / 0.7746 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.4019, allocations: 8.922 kB / 0.7746 GB, free: 2.035 MB / 0.6355 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 (24): * Single equations (assignments): 24 * 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.0001044/0.402, allocations: 150.4 kB / 0.7747 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.402, allocations: 29.12 kB / 0.7747 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.4024, allocations: 227 kB / 0.7749 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4024, allocations: 1.531 kB / 0.7749 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4024, allocations: 1.344 kB / 0.775 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4024, allocations: 5.125 kB / 0.775 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008046/0.4032, allocations: 0.6187 MB / 0.7756 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.4032, allocations: 2.891 kB / 0.7756 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.4034, allocations: 40.5 kB / 0.7756 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.4034, allocations: 8 kB / 0.7756 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.4034, allocations: 4.688 kB / 0.7756 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.4034, allocations: 7.078 kB / 0.7756 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4034, allocations: 1.719 kB / 0.7756 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.4039, allocations: 441.2 kB / 0.776 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.404, allocations: 48.72 kB / 0.7761 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.404, allocations: 3.703 kB / 0.7761 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.4041, allocations: 18.89 kB / 0.7761 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.4042, allocations: 17.19 kB / 0.7761 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.4042, allocations: 9.531 kB / 0.7761 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001495/0.4043, allocations: 181.4 kB / 0.7763 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4043, allocations: 0 / 0.7763 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003184/0.4047, allocations: 93.52 kB / 0.7764 GB, free: 0.8945 MB / 0.6355 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 (17): * Single equations (assignments): 17 * 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.0003105/0.405, allocations: 145 kB / 0.7765 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.4053, allocations: 189.6 kB / 0.7767 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4053, allocations: 1.156 kB / 0.7767 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.4055, allocations: 86.78 kB / 0.7768 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.406, allocations: 129.4 kB / 0.7769 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007219/0.4067, allocations: 0.6055 MB / 0.7775 GB, free: 264 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.4069, allocations: 174.9 kB / 0.7777 GB, free: 172 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.4069, allocations: 30.73 kB / 0.7777 GB, free: 160 kB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.4069, allocations: 4 kB / 0.7777 GB, free: 156 kB / 0.6355 GB Notification: Performance of Templates: time 0.005374/0.4123, allocations: 4.507 MB / 0.7821 GB, free: 15.7 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.386290819384158] Failed to read output from testmodel.py, exit status != 0: 0.41963587049394846 0.42751984600000004 0.030180228000000003 Calling exit ...