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.001774/0.001774, allocations: 113.2 kB / 19.73 MB, free: 2.242 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.002289/0.002289, allocations: 221.2 kB / 23.04 MB, free: 5.074 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.8346/0.8346, allocations: 134 MB / 447.2 MB, free: 10.27 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.001997/0.001997, allocations: 63.84 kB / 0.6193 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1758, allocations: 85.92 MB / 0.7032 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5496/0.7254, allocations: 171 MB / 0.8702 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.7283, allocations: 1.569 MB / 0.8718 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.7285, allocations: 19.81 kB / 0.8718 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005137/0.729, allocations: 150.9 kB / 0.8719 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.7308, allocations: 0.7507 MB / 0.8727 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.7323, allocations: 0.6267 MB / 0.8733 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009997/0.7333, allocations: 0.7332 MB / 0.874 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005414/0.7339, allocations: 193.2 kB / 0.8742 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000961/0.7348, allocations: 370.7 kB / 0.8745 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/0.7354, allocations: 255 kB / 0.8748 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.677e-05/0.7355, allocations: 27.94 kB / 0.8748 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.7373, allocations: 0.939 MB / 0.8757 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.7375, allocations: 107.7 kB / 0.8758 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.7377, allocations: 171.2 kB / 0.876 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.7391, allocations: 0.7496 MB / 0.8767 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7391, allocations: 0 / 0.8767 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7391, allocations: 0 / 0.8767 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.7391, allocations: 4 kB / 0.8767 GB, free: 5.027 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.00123/0.7404, allocations: 0.5979 MB / 0.8773 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.7404, allocations: 12.03 kB / 0.8773 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.312e-05/0.7404, allocations: 8.438 kB / 0.8773 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.7405, allocations: 54.55 kB / 0.8774 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.7417, allocations: 159.6 kB / 0.8775 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.7423, allocations: 272.5 kB / 0.8778 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.7423, allocations: 12.5 kB / 0.8778 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-05/0.7424, allocations: 27.95 kB / 0.8778 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/0.7429, allocations: 289 kB / 0.8781 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.7429, allocations: 0 / 0.8781 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.7429, allocations: 8 kB / 0.8781 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.7429, allocations: 8 kB / 0.8781 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.7434, allocations: 200.9 kB / 0.8783 GB, free: 3.312 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.001624/0.745, allocations: 1.189 MB / 0.8795 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.7453, allocations: 142.4 kB / 0.8796 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.7455, allocations: 88.8 kB / 0.8797 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004559/0.746, allocations: 75.92 kB / 0.8798 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.746, allocations: 30.56 kB / 0.8798 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.746, allocations: 0 / 0.8798 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of matching and sorting (n=17): time 0.0008138/0.7468, allocations: 295.8 kB / 0.8801 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.7469, allocations: 63.34 kB / 0.8801 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.7472, allocations: 324.4 kB / 0.8804 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.7473, allocations: 33.7 kB / 0.8805 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.7474, allocations: 172.4 kB / 0.8806 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.7475, allocations: 67.42 kB / 0.8807 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.7475, allocations: 45.7 kB / 0.8807 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.7477, allocations: 342.8 kB / 0.8811 GB, free: 320 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.7479, allocations: 63.95 kB / 0.8811 GB, free: 256 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.7481, allocations: 140.3 kB / 0.8813 GB, free: 100 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.7485, allocations: 202 kB / 0.8815 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7485, allocations: 0 / 0.8815 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005086/0.749, allocations: 253.7 kB / 0.8817 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.7491, allocations: 4 kB / 0.8817 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.7491, allocations: 7.984 kB / 0.8817 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.7491, allocations: 0 / 0.8817 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.7493, allocations: 52.02 kB / 0.8818 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.7493, allocations: 4 kB / 0.8818 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.7495, allocations: 31.7 kB / 0.8818 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.7495, allocations: 12 kB / 0.8818 GB, free: 15.52 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.0001547/0.7497, allocations: 153.8 kB / 0.882 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.7497, allocations: 31.77 kB / 0.882 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004926/0.7502, allocations: 236.5 kB / 0.8822 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.7502, allocations: 4 kB / 0.8822 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7502, allocations: 0 / 0.8822 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7502, allocations: 0 / 0.8822 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.7514, allocations: 0.6825 MB / 0.8829 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.7514, allocations: 0 / 0.8829 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.7516, allocations: 31.98 kB / 0.8829 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.7516, allocations: 11.92 kB / 0.8829 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.7516, allocations: 8 kB / 0.8829 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.7516, allocations: 3.938 kB / 0.8829 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-05/0.7516, allocations: 11.47 kB / 0.8829 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.7524, allocations: 450.9 kB / 0.8834 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.7525, allocations: 51.7 kB / 0.8834 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.7525, allocations: 7.984 kB / 0.8834 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.7527, allocations: 8 kB / 0.8834 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.7528, allocations: 15.97 kB / 0.8835 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.7528, allocations: 12.06 kB / 0.8835 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002519/0.753, allocations: 231 kB / 0.8837 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.753, allocations: 0 / 0.8837 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003993/0.7534, allocations: 83.89 kB / 0.8838 GB, free: 13.39 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.001201/0.7546, allocations: 1.028 MB / 0.8848 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004565/0.7551, allocations: 178.8 kB / 0.8849 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7551, allocations: 0 / 0.8849 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.7553, allocations: 92.39 kB / 0.885 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009262/0.7562, allocations: 165 kB / 0.8852 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.7605, allocations: 3.013 MB / 0.8881 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.761, allocations: 0.7834 MB / 0.8889 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002257/0.7612, allocations: 66.92 kB / 0.889 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.7613, allocations: 91.41 kB / 0.889 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of SimCode: time 8.62e-07/0.7613, allocations: 4 kB / 0.8891 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.797, allocations: 9.285 MB / 0.8981 GB, free: 14.73 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.27, allocations: 3.984 kB / 0.8981 GB, free: 14.73 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 & /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.963592924992554] Failed to read output from testmodel.py, exit status != 0: 12.429746870999224 12.458391258 11.714304066 Calling exit ...