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.001812/0.001812, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.002125/0.002125, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.445/1.445, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.8147/0.8147, allocations: 134 MB / 442.8 MB, free: 11.29 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.001915/0.001915, allocations: 73.89 kB / 0.6134 GB, free: 8.711 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.187, allocations: 85.85 MB / 0.6973 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5543/0.7413, allocations: 170.8 MB / 0.8641 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00305/0.7443, allocations: 1.565 MB / 0.8656 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003118/0.7447, allocations: 15.88 kB / 0.8657 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.7452, allocations: 150.8 kB / 0.8658 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.7472, allocations: 0.7429 MB / 0.8665 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.749, allocations: 0.5993 MB / 0.8671 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009882/0.75, allocations: 0.7216 MB / 0.8678 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.7504, allocations: 197.1 kB / 0.868 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007132/0.7511, allocations: 382.6 kB / 0.8684 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.7515, allocations: 243 kB / 0.8686 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.7515, allocations: 20 kB / 0.8686 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.7533, allocations: 0.9234 MB / 0.8695 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.7534, allocations: 115.6 kB / 0.8696 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.7537, allocations: 167.2 kB / 0.8698 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.7548, allocations: 0.7495 MB / 0.8705 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.7548, allocations: 0 / 0.8705 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7548, allocations: 4 kB / 0.8705 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.7548, allocations: 0 / 0.8705 GB, free: 7.016 MB / 0.6387 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.001115/0.7559, allocations: 0.6797 MB / 0.8712 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.7559, allocations: 9.109 kB / 0.8712 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.932e-05/0.756, allocations: 58.53 kB / 0.8713 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.7572, allocations: 159.6 kB / 0.8714 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/0.7578, allocations: 334.8 kB / 0.8717 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.7578, allocations: 16.56 kB / 0.8717 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.7579, allocations: 27.89 kB / 0.8718 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.7584, allocations: 293.8 kB / 0.872 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.7584, allocations: 3.75 kB / 0.872 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.7584, allocations: 8 kB / 0.8721 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.7585, allocations: 4 kB / 0.8721 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.7589, allocations: 204.9 kB / 0.8723 GB, free: 5.129 MB / 0.6387 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.001571/0.7605, allocations: 1.227 MB / 0.8735 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.7608, allocations: 138.5 kB / 0.8736 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.761, allocations: 84.81 kB / 0.8737 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006266/0.7616, allocations: 307.2 kB / 0.874 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.7616, allocations: 38.5 kB / 0.874 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.7616, allocations: 0 / 0.874 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of matching and sorting (n=17): time 0.0008249/0.7625, allocations: 301.5 kB / 0.8743 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.7625, allocations: 51.41 kB / 0.8743 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.7629, allocations: 324.5 kB / 0.8746 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.7629, allocations: 25.7 kB / 0.8747 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.7631, allocations: 180.3 kB / 0.8748 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/0.7631, allocations: 67.42 kB / 0.8749 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.433e-05/0.7632, allocations: 49.7 kB / 0.875 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.7634, allocations: 346.8 kB / 0.8753 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.7636, allocations: 67.95 kB / 0.8753 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.7638, allocations: 129 kB / 0.8755 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.7642, allocations: 198.3 kB / 0.8757 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7642, allocations: 0 / 0.8757 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000504/0.7647, allocations: 247.5 kB / 0.8759 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.7647, allocations: 10.03 kB / 0.8759 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7647, allocations: 4.094 kB / 0.8759 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.7648, allocations: 4 kB / 0.8759 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.765, allocations: 51.91 kB / 0.876 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.765, allocations: 0 / 0.876 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.7652, allocations: 31.77 kB / 0.876 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.7652, allocations: 12 kB / 0.876 GB, free: 1.02 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.0001604/0.7654, allocations: 149.7 kB / 0.8761 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.7654, allocations: 43.75 kB / 0.8762 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.766, allocations: 230.2 kB / 0.8764 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.766, allocations: 0 / 0.8764 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.766, allocations: 0 / 0.8764 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.766, allocations: 0 / 0.8764 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.7671, allocations: 0.7108 MB / 0.8771 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.7671, allocations: 4 kB / 0.8771 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.7673, allocations: 39.91 kB / 0.8771 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.7673, allocations: 8.156 kB / 0.8772 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.7673, allocations: 8 kB / 0.8772 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7673, allocations: 4 kB / 0.8772 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7673, allocations: 0.875 kB / 0.8772 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007262/0.7681, allocations: 451.1 kB / 0.8776 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.7682, allocations: 132.8 kB / 0.8777 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.7682, allocations: 7.938 kB / 0.8777 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.7684, allocations: 8 kB / 0.8777 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.7685, allocations: 23.97 kB / 0.8778 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.7685, allocations: 8 kB / 0.8778 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002926/0.7688, allocations: 231 kB / 0.878 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7688, allocations: 0 / 0.878 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004042/0.7692, allocations: 83.89 kB / 0.8781 GB, free: 14.76 MB / 0.6544 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.001282/0.7705, allocations: 1.022 MB / 0.8791 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.7709, allocations: 175.8 kB / 0.8792 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7709, allocations: 0 / 0.8792 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.7712, allocations: 96.25 kB / 0.8793 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000884/0.772, allocations: 162.7 kB / 0.8795 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.7761, allocations: 3.01 MB / 0.8824 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.7765, allocations: 0.7834 MB / 0.8832 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002315/0.7768, allocations: 66.94 kB / 0.8832 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.7769, allocations: 95.41 kB / 0.8833 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of SimCode: time 6.91e-07/0.7769, allocations: 0 / 0.8833 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.8124, allocations: 9.02 MB / 0.8921 GB, free: 324 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/9.159, allocations: 11.98 kB / 0.8922 GB, free: 312 kB / 0.6544 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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: 12.777658206003252] Failed to read output from testmodel.py, exit status != 0: 9.232163021006272 9.255100017 8.495839615 Calling exit ...