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.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.002067/0.002067, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.002561/0.002561, allocations: 161.9 kB / 23.01 MB, free: 4.965 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.488/1.488, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.809/0.809, allocations: 101.3 MB / 361.1 MB, free: 9.531 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.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: 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.002172/0.002172, allocations: 62.94 kB / 0.5356 GB, free: 5.199 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.1855/0.1877, allocations: 85.88 MB / 0.6195 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5687/0.7564, allocations: 147.7 MB / 0.7637 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.7595, allocations: 1.495 MB / 0.7652 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004271/0.76, allocations: 14.81 kB / 0.7652 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005913/0.7606, allocations: 152.6 kB / 0.7653 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.7626, allocations: 0.7061 MB / 0.766 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.7644, allocations: 0.6175 MB / 0.7666 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009995/0.7654, allocations: 0.7284 MB / 0.7673 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.7658, allocations: 187.8 kB / 0.7675 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007139/0.7665, allocations: 370.6 kB / 0.7679 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/0.7668, allocations: 232.4 kB / 0.7681 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.7669, allocations: 22.47 kB / 0.7681 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.7684, allocations: 0.7186 MB / 0.7688 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.7685, allocations: 118.7 kB / 0.7689 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.7687, allocations: 142.6 kB / 0.7691 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.7698, allocations: 0.7195 MB / 0.7698 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7699, allocations: 0 / 0.7698 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.153e-06/0.7699, allocations: 0 / 0.7698 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.7699, allocations: 0 / 0.7698 GB, free: 0.5312 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001002/0.7709, allocations: 0.6125 MB / 0.7704 GB, free: 16 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.7709, allocations: 8.062 kB / 0.7704 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.7721, allocations: 155.2 kB / 0.7705 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.7726, allocations: 264 kB / 0.7708 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.7727, allocations: 19.91 kB / 0.7708 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.7727, allocations: 29.23 kB / 0.7708 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005205/0.7732, allocations: 285.9 kB / 0.7711 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.7733, allocations: 0 / 0.7711 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.7733, allocations: 14.84 kB / 0.7711 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.7733, allocations: 5.219 kB / 0.7711 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.7737, allocations: 200.5 kB / 0.7713 GB, free: 15.39 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.00143/0.7751, allocations: 0.9331 MB / 0.7722 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.7754, allocations: 142.4 kB / 0.7723 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.7756, allocations: 93.98 kB / 0.7724 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004917/0.7761, allocations: 76.08 kB / 0.7725 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.7761, allocations: 34.55 kB / 0.7725 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=17): time 1.704e-06/0.7761, allocations: 0 / 0.7725 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17): time 0.0008131/0.777, allocations: 284.1 kB / 0.7728 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.777, allocations: 58.34 kB / 0.7729 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.7773, allocations: 254.4 kB / 0.7731 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.7773, allocations: 32.64 kB / 0.7731 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.7775, allocations: 188.5 kB / 0.7733 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.7775, allocations: 67.08 kB / 0.7734 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/0.7776, allocations: 42.05 kB / 0.7734 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.7778, allocations: 342.5 kB / 0.7737 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.7779, allocations: 63.14 kB / 0.7738 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.7782, allocations: 207.4 kB / 0.774 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.7786, allocations: 198.3 kB / 0.7742 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.7786, allocations: 3.938 kB / 0.7742 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004765/0.7791, allocations: 248.3 kB / 0.7744 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.7791, allocations: 7.625 kB / 0.7744 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.7791, allocations: 0 / 0.7744 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.7791, allocations: 2.625 kB / 0.7744 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.7793, allocations: 55 kB / 0.7745 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.7794, allocations: 2.188 kB / 0.7745 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.7795, allocations: 26.91 kB / 0.7745 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.7796, allocations: 9.188 kB / 0.7745 GB, free: 12.86 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 (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.0001722/0.7798, allocations: 155.1 kB / 0.7747 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.7798, allocations: 25.91 kB / 0.7747 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.7803, allocations: 229.5 kB / 0.7749 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.7803, allocations: 4 kB / 0.7749 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7803, allocations: 2.625 kB / 0.7749 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.7803, allocations: 3.984 kB / 0.7749 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.7814, allocations: 0.61 MB / 0.7755 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.7814, allocations: 7.312 kB / 0.7755 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.7816, allocations: 41.52 kB / 0.7756 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.7816, allocations: 2.938 kB / 0.7756 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.7816, allocations: 2.875 kB / 0.7756 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.7816, allocations: 6.234 kB / 0.7756 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7816, allocations: 6.656 kB / 0.7756 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.7823, allocations: 440.7 kB / 0.776 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.41e-05/0.7824, allocations: 49.22 kB / 0.7761 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.7824, allocations: 6.906 kB / 0.7761 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.7826, allocations: 13.23 kB / 0.7761 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.7827, allocations: 20.16 kB / 0.7761 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.7827, allocations: 9.016 kB / 0.7761 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001645/0.7828, allocations: 184.3 kB / 0.7763 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7828, allocations: 3.125 kB / 0.7763 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004163/0.7833, allocations: 89.36 kB / 0.7764 GB, free: 11.52 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 (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.0003028/0.7836, allocations: 155.9 kB / 0.7765 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004276/0.784, allocations: 167.9 kB / 0.7767 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.784, allocations: 2.969 kB / 0.7767 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.7842, allocations: 92.58 kB / 0.7768 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007577/0.7849, allocations: 129.5 kB / 0.7769 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.786, allocations: 0.6145 MB / 0.7775 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.7862, allocations: 174.1 kB / 0.7777 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.7863, allocations: 57.7 kB / 0.7777 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.7864, allocations: 21.94 kB / 0.7777 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of SimCode: time 3.9e-07/0.7864, allocations: 0 / 0.7777 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of Templates: time 0.01022/0.7966, allocations: 4.824 MB / 0.7824 GB, free: 8.203 MB / 0.6231 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.367723683011718] Failed to read output from testmodel.py, exit status != 0: 0.8051042780280113 0.820754131 0.047848247000000003 Calling exit ...