Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 191.1 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.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.8737/0.8737, allocations: 134 MB / 440.3 MB, free: 308 kB / 334.1 MB " [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.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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 68.92 kB / 0.6107 GB, free: 13.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1988, allocations: 84.73 MB / 0.6935 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.6184/0.8171, allocations: 168.1 MB / 0.8577 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.002931/0.8201, allocations: 1.558 MB / 0.8592 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.8203, allocations: 23.81 kB / 0.8592 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.8208, allocations: 150.9 kB / 0.8594 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.8226, allocations: 0.7507 MB / 0.8601 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.8242, allocations: 0.6368 MB / 0.8607 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008736/0.825, allocations: 0.7294 MB / 0.8614 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.8254, allocations: 185.3 kB / 0.8616 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006531/0.826, allocations: 366.7 kB / 0.862 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.8264, allocations: 231.1 kB / 0.8622 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.8264, allocations: 24 kB / 0.8622 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.828, allocations: 0.9467 MB / 0.8631 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.8281, allocations: 115.6 kB / 0.8632 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.8283, allocations: 175.1 kB / 0.8634 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.8296, allocations: 0.7427 MB / 0.8641 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.8296, allocations: 3.938 kB / 0.8641 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8296, allocations: 0 / 0.8641 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.8297, allocations: 0 / 0.8641 GB, free: 3.625 MB / 0.6231 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.001207/0.8309, allocations: 0.5979 MB / 0.8647 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.8309, allocations: 8.031 kB / 0.8647 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.8321, allocations: 160.5 kB / 0.8649 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.8328, allocations: 272.5 kB / 0.8651 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.8328, allocations: 20.44 kB / 0.8652 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.8328, allocations: 20 kB / 0.8652 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.8334, allocations: 293 kB / 0.8655 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.8334, allocations: 3.938 kB / 0.8655 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.8334, allocations: 4 kB / 0.8655 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.8335, allocations: 8 kB / 0.8655 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.8339, allocations: 204.7 kB / 0.8657 GB, free: 1.98 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.001568/0.8355, allocations: 1.196 MB / 0.8668 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.8358, allocations: 138.5 kB / 0.867 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.836, allocations: 88.8 kB / 0.8671 GB, free: 464 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004877/0.8365, allocations: 79.91 kB / 0.8671 GB, free: 384 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.8365, allocations: 34.56 kB / 0.8672 GB, free: 340 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.8365, allocations: 0 / 0.8672 GB, free: 340 kB / 0.6231 GB Notification: Performance of matching and sorting (n=17): time 0.0008144/0.8373, allocations: 293.6 kB / 0.8674 GB, free: 40 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.8374, allocations: 55.41 kB / 0.8675 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.8378, allocations: 316.5 kB / 0.8678 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.8378, allocations: 29.7 kB / 0.8678 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.8379, allocations: 192.2 kB / 0.868 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.838, allocations: 63.42 kB / 0.8681 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/0.8381, allocations: 49.59 kB / 0.8681 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.8382, allocations: 350.7 kB / 0.8685 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.8384, allocations: 71.95 kB / 0.8685 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.8386, allocations: 121.1 kB / 0.8686 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.839, allocations: 206 kB / 0.8688 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8391, allocations: 0 / 0.8688 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005364/0.8396, allocations: 246 kB / 0.8691 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.8396, allocations: 4.094 kB / 0.8691 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.8396, allocations: 8 kB / 0.8691 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.8396, allocations: 0 / 0.8691 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.8399, allocations: 51.91 kB / 0.8691 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.8399, allocations: 4 kB / 0.8691 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.8401, allocations: 31.77 kB / 0.8692 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.8401, allocations: 8 kB / 0.8692 GB, free: 14.18 MB / 0.6387 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.000157/0.8403, allocations: 153.7 kB / 0.8693 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.8403, allocations: 31.81 kB / 0.8694 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005224/0.8408, allocations: 239.3 kB / 0.8696 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.8408, allocations: 4 kB / 0.8696 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.8408, allocations: 5.25 kB / 0.8696 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.8408, allocations: 0 / 0.8696 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.8421, allocations: 0.6748 MB / 0.8702 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8421, allocations: 0 / 0.8702 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.8423, allocations: 39.92 kB / 0.8703 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.8423, allocations: 4.219 kB / 0.8703 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.8423, allocations: 11.94 kB / 0.8703 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.8423, allocations: 3.984 kB / 0.8703 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.8424, allocations: 11.69 kB / 0.8703 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008512/0.8432, allocations: 441.1 kB / 0.8707 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.8433, allocations: 55.7 kB / 0.8708 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.8434, allocations: 7.938 kB / 0.8708 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.8436, allocations: 11.98 kB / 0.8708 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.8436, allocations: 23.98 kB / 0.8708 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.8436, allocations: 7.984 kB / 0.8708 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002479/0.8439, allocations: 231 kB / 0.8711 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8439, allocations: 96 / 0.8711 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004082/0.8443, allocations: 83.88 kB / 0.8711 GB, free: 12.05 MB / 0.6387 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.0004208/0.8447, allocations: 167.8 kB / 0.8713 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004758/0.8452, allocations: 167.8 kB / 0.8715 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8452, allocations: 0 / 0.8715 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.8454, allocations: 100.4 kB / 0.8716 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009098/0.8463, allocations: 172 kB / 0.8717 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.8476, allocations: 0.6421 MB / 0.8723 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.848, allocations: 0.7834 MB / 0.8731 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002114/0.8482, allocations: 66.92 kB / 0.8732 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.8483, allocations: 23.44 kB / 0.8732 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.8483, allocations: 4 kB / 0.8732 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of Templates: time 0.01283/0.8611, allocations: 5.978 MB / 0.879 GB, free: 4.008 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.443953833542764] Failed to read output from testmodel.py, exit status != 0: 0.8691732976585627 0.88413254 0.051392363 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fdc4a6357b0>