Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity") translateModel(Annex60.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 196.6 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 222 MB, free: 4.953 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4254/0.4254, allocations: 54.92 MB / 324.3 MB, free: 15.99 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 64.47 kB / 394.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1828, allocations: 59.59 MB / 454.2 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Velocity): time 0.5106/0.6934, allocations: 165.2 MB / 0.6049 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003527/0.697, allocations: 1.533 MB / 0.6064 GB, free: 1.426 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004546/0.6975, allocations: 11.94 kB / 0.6064 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.6987, allocations: 194.9 kB / 0.6066 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.7006, allocations: 0.5716 MB / 0.6071 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.7026, allocations: 0.6341 MB / 0.6077 GB, free: 20 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.7041, allocations: 1.471 MB / 0.6092 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.7045, allocations: 273.6 kB / 0.6094 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009858/0.7055, allocations: 490 kB / 0.6099 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004421/0.706, allocations: 346.7 kB / 0.6102 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.706, allocations: 20 kB / 0.6103 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.7076, allocations: 0.717 MB / 0.611 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.7079, allocations: 171.5 kB / 0.6111 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.7081, allocations: 238.9 kB / 0.6113 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.7094, allocations: 0.9231 MB / 0.6123 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7094, allocations: 0 / 0.6123 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.7094, allocations: 0 / 0.6123 GB, free: 11.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.7094, allocations: 4 kB / 0.6123 GB, free: 11.39 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001694/0.7111, allocations: 0.7806 MB / 0.613 GB, free: 10.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.7112, allocations: 8.031 kB / 0.613 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.7124, allocations: 155.3 kB / 0.6132 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005708/0.713, allocations: 355.5 kB / 0.6135 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.713, allocations: 29 kB / 0.6135 GB, free: 9.988 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.7131, allocations: 39.94 kB / 0.6136 GB, free: 9.949 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.7139, allocations: 431 kB / 0.614 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.7139, allocations: 0 / 0.614 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.714, allocations: 16 kB / 0.614 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.714, allocations: 10.62 kB / 0.614 GB, free: 9.492 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/0.7146, allocations: 319.7 kB / 0.6143 GB, free: 9.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.7171, allocations: 1.497 MB / 0.6158 GB, free: 7.562 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.7174, allocations: 143.2 kB / 0.6159 GB, free: 7.414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.7176, allocations: 92.67 kB / 0.616 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003704/0.718, allocations: 117 kB / 0.6161 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.718, allocations: 38.56 kB / 0.6162 GB, free: 7.141 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.718, allocations: 0 / 0.6162 GB, free: 7.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007297/0.7188, allocations: 286 kB / 0.6164 GB, free: 6.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.7188, allocations: 51.41 kB / 0.6165 GB, free: 6.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005512/0.7194, allocations: 445.8 kB / 0.6169 GB, free: 6.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.7194, allocations: 29.7 kB / 0.6169 GB, free: 6.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.7196, allocations: 235.6 kB / 0.6172 GB, free: 6.074 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.7197, allocations: 71.08 kB / 0.6172 GB, free: 6.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/0.7198, allocations: 49.98 kB / 0.6173 GB, free: 5.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7199, allocations: 354.7 kB / 0.6176 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.7201, allocations: 88.5 kB / 0.6177 GB, free: 5.508 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.7204, allocations: 162.5 kB / 0.6178 GB, free: 5.316 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.7208, allocations: 256.3 kB / 0.6181 GB, free: 5.035 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.7208, allocations: 4 kB / 0.6181 GB, free: 5.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006034/0.7214, allocations: 333.9 kB / 0.6184 GB, free: 4.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.7215, allocations: 8 kB / 0.6184 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.7215, allocations: 0 / 0.6184 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.7215, allocations: 7.938 kB / 0.6184 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.7218, allocations: 63.91 kB / 0.6185 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.7218, allocations: 7.938 kB / 0.6185 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.7221, allocations: 63.67 kB / 0.6186 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.7222, allocations: 8.5 kB / 0.6186 GB, free: 4.543 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001937/0.7224, allocations: 174.4 kB / 0.6187 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.69e-05/0.7224, allocations: 39.53 kB / 0.6188 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.723, allocations: 244.9 kB / 0.619 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.723, allocations: 4 kB / 0.619 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.723, allocations: 1.5 kB / 0.619 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.723, allocations: 0 / 0.619 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.7241, allocations: 0.7419 MB / 0.6197 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7241, allocations: 0 / 0.6197 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.7243, allocations: 35.92 kB / 0.6198 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7243, allocations: 5.062 kB / 0.6198 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.7243, allocations: 8 kB / 0.6198 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.7243, allocations: 7.984 kB / 0.6198 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.7243, allocations: 0.5469 kB / 0.6198 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006704/0.725, allocations: 460.2 kB / 0.6202 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.7252, allocations: 148.6 kB / 0.6204 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.7252, allocations: 12.92 kB / 0.6204 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.7256, allocations: 23.89 kB / 0.6204 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.7257, allocations: 19.86 kB / 0.6204 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.7257, allocations: 15.98 kB / 0.6204 GB, free: 2.488 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003387/0.7261, allocations: 320.2 kB / 0.6207 GB, free: 2.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7261, allocations: 0 / 0.6207 GB, free: 2.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004892/0.7266, allocations: 115.9 kB / 0.6209 GB, free: 2.066 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (16): * Single equations (assignments): 16 * 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.000453/0.727, allocations: 155.1 kB / 0.621 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.7275, allocations: 219.6 kB / 0.6212 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7275, allocations: 0 / 0.6212 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.7277, allocations: 92.7 kB / 0.6213 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.729, allocations: 232.9 kB / 0.6215 GB, free: 1.391 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.7303, allocations: 0.8934 MB / 0.6224 GB, free: 480 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.7308, allocations: 0.8152 MB / 0.6232 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003475/0.7311, allocations: 80.5 kB / 0.6233 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.7312, allocations: 39.42 kB / 0.6233 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.7312, allocations: 0 / 0.6233 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of Templates: time 0.01528/0.7465, allocations: 7.994 MB / 0.6311 GB, free: 7.672 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe 2>&1)