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.001607/0.001607, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001409/0.001409, allocations: 219 kB / 23.03 MB, free: 4.922 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.8774/0.8774, allocations: 134 MB / 447.2 MB, free: 9.926 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="cs",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.003321/0.003321, allocations: 70.94 kB / 0.6193 GB, free: 6.852 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1906, allocations: 85.91 MB / 0.7032 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5417/0.7323, allocations: 147.5 MB / 0.8472 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.002758/0.7351, allocations: 1.486 MB / 0.8487 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.7353, allocations: 19.81 kB / 0.8487 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.7358, allocations: 150.8 kB / 0.8489 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.7375, allocations: 0.7039 MB / 0.8495 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.739, allocations: 0.6269 MB / 0.8502 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008505/0.7398, allocations: 0.7294 MB / 0.8509 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003353/0.7402, allocations: 197.3 kB / 0.8511 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006629/0.7408, allocations: 366.7 kB / 0.8514 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.7412, allocations: 246.9 kB / 0.8516 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.7412, allocations: 24 kB / 0.8517 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.7424, allocations: 0.7245 MB / 0.8524 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.7426, allocations: 115.6 kB / 0.8525 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.7427, allocations: 147.3 kB / 0.8526 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.7437, allocations: 0.7185 MB / 0.8533 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7437, allocations: 0 / 0.8533 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7437, allocations: 0 / 0.8533 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.7437, allocations: 0 / 0.8533 GB, free: 9.395 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.000971/0.7447, allocations: 0.6095 MB / 0.8539 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.7447, allocations: 8.031 kB / 0.8539 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.524e-05/0.7448, allocations: 8.5 kB / 0.8539 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.809e-05/0.7448, allocations: 54.55 kB / 0.854 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.746, allocations: 159.6 kB / 0.8541 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.7465, allocations: 260.5 kB / 0.8544 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.7465, allocations: 24.5 kB / 0.8544 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.7466, allocations: 23.95 kB / 0.8544 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.7471, allocations: 289 kB / 0.8547 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.7471, allocations: 3.984 kB / 0.8547 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.7471, allocations: 4 kB / 0.8547 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.7471, allocations: 8 kB / 0.8547 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.7476, allocations: 196.9 kB / 0.8549 GB, free: 7.68 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.001389/0.7489, allocations: 0.9997 MB / 0.8559 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.7492, allocations: 134.5 kB / 0.856 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.7494, allocations: 88.8 kB / 0.8561 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004864/0.7499, allocations: 75.92 kB / 0.8562 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.7499, allocations: 34.5 kB / 0.8562 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.7499, allocations: 0 / 0.8562 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17): time 0.0007865/0.7507, allocations: 299.8 kB / 0.8565 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.7508, allocations: 59.39 kB / 0.8565 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.7511, allocations: 324.4 kB / 0.8569 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.7511, allocations: 29.7 kB / 0.8569 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.7513, allocations: 176.3 kB / 0.8571 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.7513, allocations: 67.42 kB / 0.8571 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.7514, allocations: 49.7 kB / 0.8572 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.7516, allocations: 346.7 kB / 0.8575 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.7518, allocations: 72.75 kB / 0.8576 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.752, allocations: 214.1 kB / 0.8578 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.7524, allocations: 196.5 kB / 0.858 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7524, allocations: 0 / 0.858 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004768/0.7529, allocations: 249.3 kB / 0.8582 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.7529, allocations: 8.094 kB / 0.8582 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7529, allocations: 4 kB / 0.8582 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7529, allocations: 0 / 0.8582 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.7531, allocations: 54.91 kB / 0.8583 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.7531, allocations: 6.188 kB / 0.8583 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.7533, allocations: 27.77 kB / 0.8583 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.7534, allocations: 12 kB / 0.8583 GB, free: 4.023 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.0001575/0.7535, allocations: 153.7 kB / 0.8585 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.7536, allocations: 35.77 kB / 0.8585 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.7541, allocations: 228.6 kB / 0.8587 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.7541, allocations: 4 kB / 0.8587 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7541, allocations: 0 / 0.8587 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.7541, allocations: 3.984 kB / 0.8587 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.7551, allocations: 0.6552 MB / 0.8594 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.7551, allocations: 4 kB / 0.8594 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.7553, allocations: 35.92 kB / 0.8594 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.7553, allocations: 3.938 kB / 0.8594 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.7553, allocations: 4 kB / 0.8594 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.7554, allocations: 7.984 kB / 0.8594 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7554, allocations: 3.75 kB / 0.8594 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000685/0.756, allocations: 451.8 kB / 0.8598 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.7561, allocations: 55.69 kB / 0.8599 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.7562, allocations: 8 kB / 0.8599 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.7564, allocations: 11.98 kB / 0.8599 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.7564, allocations: 15.92 kB / 0.8599 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.7564, allocations: 11.98 kB / 0.8599 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002351/0.7567, allocations: 227 kB / 0.8602 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.7567, allocations: 0 / 0.8602 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000395/0.7571, allocations: 95.89 kB / 0.8602 GB, free: 1.914 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.001136/0.7582, allocations: 1.023 MB / 0.8612 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.7586, allocations: 171.9 kB / 0.8614 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7586, allocations: 0 / 0.8614 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.7588, allocations: 95.81 kB / 0.8615 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008774/0.7597, allocations: 167.5 kB / 0.8617 GB, free: 436 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.7635, allocations: 3.003 MB / 0.8646 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.7637, allocations: 175.8 kB / 0.8648 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002386/0.7639, allocations: 70.92 kB / 0.8648 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.7641, allocations: 91.41 kB / 0.8649 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of SimCode: time 4.01e-07/0.7641, allocations: 0 / 0.8649 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/0.7989, allocations: 9.821 MB / 0.8745 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.53, allocations: 6.469 kB / 0.8745 GB, free: 3.41 MB / 0.6387 GB " [Timeout remaining time 647] (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: 16.272141002933495] Failed to read output from testmodel.py, exit status != 0: 12.70047079003416 12.728007878 11.97897278 Calling exit ...