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.0013/0.0013, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001422/0.001422, allocations: 212 kB / 22.25 MB, free: 5.086 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 8.012 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.8362/0.8362, allocations: 134 MB / 446.4 MB, free: 10.18 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.001911/0.001911, allocations: 70.75 kB / 0.6186 GB, free: 7.176 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1662, allocations: 85.91 MB / 0.7025 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5615/0.7277, allocations: 171 MB / 0.8695 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00296/0.7306, allocations: 1.562 MB / 0.871 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.7309, allocations: 23.75 kB / 0.871 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005241/0.7314, allocations: 154.8 kB / 0.8712 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.7332, allocations: 0.7468 MB / 0.8719 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.7348, allocations: 0.6379 MB / 0.8725 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008897/0.7356, allocations: 0.7294 MB / 0.8732 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.736, allocations: 189.3 kB / 0.8734 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.7367, allocations: 374.7 kB / 0.8738 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003534/0.737, allocations: 247 kB / 0.874 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.7371, allocations: 23.94 kB / 0.874 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.7387, allocations: 0.9507 MB / 0.875 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.7389, allocations: 99.7 kB / 0.875 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.739, allocations: 175.1 kB / 0.8752 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.7401, allocations: 0.7496 MB / 0.8759 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7401, allocations: 0 / 0.8759 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7401, allocations: 0 / 0.8759 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.7401, allocations: 0 / 0.8759 GB, free: 4.918 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.0009822/0.7411, allocations: 0.6018 MB / 0.8765 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.7412, allocations: 12.03 kB / 0.8765 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.918e-05/0.7412, allocations: 54.55 kB / 0.8766 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.7423, allocations: 160.7 kB / 0.8768 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.7429, allocations: 268.4 kB / 0.877 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.7429, allocations: 16.5 kB / 0.877 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.743, allocations: 27.95 kB / 0.8771 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.7435, allocations: 285 kB / 0.8773 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.7435, allocations: 0 / 0.8773 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.7435, allocations: 12 kB / 0.8773 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.7435, allocations: 4 kB / 0.8773 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.7439, allocations: 204.9 kB / 0.8775 GB, free: 3.207 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.001529/0.7455, allocations: 1.185 MB / 0.8787 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.7457, allocations: 150.1 kB / 0.8788 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.7459, allocations: 84.81 kB / 0.8789 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004704/0.7464, allocations: 79.89 kB / 0.879 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.7464, allocations: 34.56 kB / 0.879 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=17): time 2.926e-06/0.7464, allocations: 3.984 kB / 0.879 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of matching and sorting (n=17): time 0.0007776/0.7472, allocations: 295.6 kB / 0.8793 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.7473, allocations: 59.34 kB / 0.8794 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.7476, allocations: 328.4 kB / 0.8797 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.7476, allocations: 25.7 kB / 0.8797 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.7478, allocations: 176.3 kB / 0.8799 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.7478, allocations: 63.44 kB / 0.8799 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.462e-05/0.7479, allocations: 49.7 kB / 0.88 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.7481, allocations: 346.7 kB / 0.8803 GB, free: 204 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.7483, allocations: 67.95 kB / 0.8804 GB, free: 136 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.7485, allocations: 136.3 kB / 0.8805 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.7489, allocations: 194 kB / 0.8807 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7489, allocations: 3.938 kB / 0.8807 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004695/0.7493, allocations: 246 kB / 0.8809 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.7494, allocations: 4 kB / 0.8809 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7494, allocations: 3.938 kB / 0.8809 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.7494, allocations: 4 kB / 0.8809 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.7496, allocations: 52.06 kB / 0.881 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.7496, allocations: 2.656 kB / 0.881 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.7498, allocations: 31.77 kB / 0.881 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.7498, allocations: 12 kB / 0.881 GB, free: 15.42 MB / 0.6544 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.0001537/0.75, allocations: 149.7 kB / 0.8812 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.75, allocations: 39.7 kB / 0.8812 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.7505, allocations: 242.9 kB / 0.8814 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.7505, allocations: 0 / 0.8814 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7505, allocations: 0 / 0.8814 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7505, allocations: 0 / 0.8814 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.7516, allocations: 0.6795 MB / 0.8821 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7516, allocations: 4 kB / 0.8821 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.7518, allocations: 35.98 kB / 0.8821 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.7518, allocations: 3.938 kB / 0.8822 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.7518, allocations: 4 kB / 0.8822 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-05/0.7518, allocations: 10.33 kB / 0.8822 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.7518, allocations: 7.938 kB / 0.8822 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000678/0.7525, allocations: 453.1 kB / 0.8826 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.7526, allocations: 43.73 kB / 0.8826 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.7526, allocations: 7.938 kB / 0.8827 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.7528, allocations: 15.98 kB / 0.8827 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.7529, allocations: 12.03 kB / 0.8827 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.7529, allocations: 16 kB / 0.8827 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002353/0.7531, allocations: 227 kB / 0.8829 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7531, allocations: 0 / 0.8829 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003833/0.7535, allocations: 87.89 kB / 0.883 GB, free: 13.29 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.001143/0.7546, allocations: 1.033 MB / 0.884 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.7551, allocations: 171.8 kB / 0.8842 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7551, allocations: 0 / 0.8842 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.7553, allocations: 92.44 kB / 0.8843 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008619/0.7561, allocations: 165.8 kB / 0.8844 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.76, allocations: 3.021 MB / 0.8874 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.7604, allocations: 0.7795 MB / 0.8881 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001897/0.7606, allocations: 62.92 kB / 0.8882 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.7608, allocations: 99.41 kB / 0.8883 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.7608, allocations: 0 / 0.8883 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03863/0.7994, allocations: 9.246 MB / 0.8973 GB, free: 14.65 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.89, allocations: 8 kB / 0.8973 GB, free: 14.64 MB / 0.67 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 & 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: 15.500067885004682] Failed to read output from testmodel.py, exit status != 0: 12.00185165899893 12.02706881 11.282435745 Calling exit ...