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.001312/0.001312, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002816/0.002816, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.785 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.8574/0.8574, allocations: 134 MB / 446.4 MB, free: 9.965 MB / 350.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.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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [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.002009/0.002009, allocations: 67.73 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1722, allocations: 85.91 MB / 0.7024 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5596/0.7318, allocations: 147.7 MB / 0.8466 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003161/0.7349, allocations: 1.477 MB / 0.848 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.7354, allocations: 15.81 kB / 0.848 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.7361, allocations: 154.9 kB / 0.8482 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.7383, allocations: 0.7039 MB / 0.8489 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.7399, allocations: 0.6268 MB / 0.8495 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0009831/0.7409, allocations: 0.7292 MB / 0.8502 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003585/0.7413, allocations: 185.3 kB / 0.8504 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006931/0.7419, allocations: 374.6 kB / 0.8507 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.7423, allocations: 219.1 kB / 0.8509 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.959e-05/0.7423, allocations: 27.94 kB / 0.851 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.7437, allocations: 0.7205 MB / 0.8517 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.7438, allocations: 119.6 kB / 0.8518 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.744, allocations: 143.3 kB / 0.8519 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.745, allocations: 0.7146 MB / 0.8526 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.745, allocations: 0 / 0.8526 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7451, allocations: 4 kB / 0.8526 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.7451, allocations: 0 / 0.8526 GB, free: 9.344 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.00102/0.7461, allocations: 0.6095 MB / 0.8532 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.7461, allocations: 12.03 kB / 0.8532 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.092e-05/0.7462, allocations: 54.55 kB / 0.8533 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.7473, allocations: 159.6 kB / 0.8534 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.7479, allocations: 264.5 kB / 0.8537 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.7479, allocations: 16.5 kB / 0.8537 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.748, allocations: 25.27 kB / 0.8537 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.7485, allocations: 285 kB / 0.854 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.7485, allocations: 4 kB / 0.854 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.7486, allocations: 12 kB / 0.854 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.7486, allocations: 8 kB / 0.854 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004491/0.749, allocations: 200.9 kB / 0.8542 GB, free: 7.629 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.001556/0.7506, allocations: 0.9957 MB / 0.8552 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.7509, allocations: 138.5 kB / 0.8553 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.7511, allocations: 92.55 kB / 0.8554 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004709/0.7516, allocations: 71.91 kB / 0.8555 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.7516, allocations: 38.56 kB / 0.8555 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=17): time 1.954e-06/0.7516, allocations: 0 / 0.8555 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17): time 0.0008725/0.7525, allocations: 295.9 kB / 0.8558 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.7525, allocations: 51.41 kB / 0.8558 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.7529, allocations: 332.4 kB / 0.8562 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.753, allocations: 29.7 kB / 0.8562 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.7531, allocations: 188.2 kB / 0.8564 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.7532, allocations: 63.48 kB / 0.8564 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.7533, allocations: 41.7 kB / 0.8565 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.7535, allocations: 350.7 kB / 0.8568 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.7536, allocations: 67.95 kB / 0.8569 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.7539, allocations: 201.5 kB / 0.8571 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.7543, allocations: 206.2 kB / 0.8573 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7543, allocations: 0 / 0.8573 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005038/0.7548, allocations: 257.2 kB / 0.8575 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.7548, allocations: 4 kB / 0.8575 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7548, allocations: 4 kB / 0.8575 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.7549, allocations: 0 / 0.8575 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.7551, allocations: 51.94 kB / 0.8576 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.7551, allocations: 6.734 kB / 0.8576 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.7553, allocations: 31.83 kB / 0.8576 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.7553, allocations: 12 kB / 0.8576 GB, free: 3.977 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.0001639/0.7555, allocations: 153.7 kB / 0.8578 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.7556, allocations: 27.81 kB / 0.8578 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/0.7561, allocations: 238.5 kB / 0.858 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.7561, allocations: 4 kB / 0.858 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7561, allocations: 4 kB / 0.858 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7561, allocations: 0 / 0.858 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.7573, allocations: 0.6436 MB / 0.8586 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.7573, allocations: 4 kB / 0.8586 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.7574, allocations: 48.06 kB / 0.8587 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.7575, allocations: 7.938 kB / 0.8587 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.7575, allocations: 4.875 kB / 0.8587 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.7575, allocations: 4 kB / 0.8587 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7575, allocations: 0 / 0.8587 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007399/0.7582, allocations: 449.1 kB / 0.8591 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.7583, allocations: 47.77 kB / 0.8592 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.7584, allocations: 15.98 kB / 0.8592 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.7586, allocations: 9.875 kB / 0.8592 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.7586, allocations: 19.97 kB / 0.8592 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.7586, allocations: 7.938 kB / 0.8592 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002556/0.7589, allocations: 231 kB / 0.8595 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.7589, allocations: 0 / 0.8595 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000412/0.7593, allocations: 83.89 kB / 0.8595 GB, free: 1.879 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.001219/0.7605, allocations: 1.032 MB / 0.8605 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.761, allocations: 174.3 kB / 0.8607 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.761, allocations: 0 / 0.8607 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.7612, allocations: 92.45 kB / 0.8608 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008623/0.762, allocations: 164.4 kB / 0.861 GB, free: 400 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.7661, allocations: 3.011 MB / 0.8639 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.7663, allocations: 175.8 kB / 0.8641 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.7666, allocations: 62.94 kB / 0.8641 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.7667, allocations: 99.39 kB / 0.8642 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/0.7667, allocations: 7.938 kB / 0.8642 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/0.81, allocations: 10.17 MB / 0.8742 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.96, allocations: 7.922 kB / 0.8742 GB, free: 2.98 MB / 0.6387 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.586833001114428] Failed to read output from testmodel.py, exit status != 0: 12.062262604944408 12.088784061 11.338511741 Calling exit ...