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.001345/0.001345, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001544/0.001544, allocations: 216.2 kB / 22.25 MB, free: 5.117 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 8.004 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.8182/0.8182, allocations: 134 MB / 446.4 MB, free: 10.19 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.001891/0.001891, allocations: 62.12 kB / 0.6186 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1617, allocations: 85.92 MB / 0.7025 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.6241/0.7858, allocations: 171 MB / 0.8695 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003271/0.789, allocations: 1.575 MB / 0.871 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004892/0.7895, allocations: 15.88 kB / 0.871 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006763/0.7902, allocations: 150.8 kB / 0.8712 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.7925, allocations: 0.7507 MB / 0.8719 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.7945, allocations: 0.6303 MB / 0.8725 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.7958, allocations: 0.7293 MB / 0.8732 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004689/0.7963, allocations: 189.3 kB / 0.8734 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000929/0.7972, allocations: 370.7 kB / 0.8738 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.7977, allocations: 250.9 kB / 0.874 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.946e-05/0.7977, allocations: 24 kB / 0.874 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.7997, allocations: 0.9429 MB / 0.8749 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.7999, allocations: 111.7 kB / 0.8751 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.8002, allocations: 167.2 kB / 0.8752 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.8021, allocations: 0.7496 MB / 0.8759 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8021, allocations: 0 / 0.8759 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8021, allocations: 0 / 0.8759 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.8021, allocations: 0 / 0.8759 GB, free: 4.902 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.001228/0.8033, allocations: 0.6018 MB / 0.8765 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.8034, allocations: 12.03 kB / 0.8765 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.025e-05/0.8035, allocations: 62.48 kB / 0.8766 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.8046, allocations: 159.6 kB / 0.8768 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.8053, allocations: 268.5 kB / 0.877 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.8053, allocations: 24.44 kB / 0.877 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.8054, allocations: 23.95 kB / 0.8771 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005821/0.8059, allocations: 289 kB / 0.8773 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.8059, allocations: 0 / 0.8773 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.806, allocations: 8 kB / 0.8773 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.806, allocations: 4 kB / 0.8773 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.8064, allocations: 200.9 kB / 0.8775 GB, free: 3.184 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.001689/0.8081, allocations: 1.193 MB / 0.8787 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.8084, allocations: 142.5 kB / 0.8788 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.8086, allocations: 88.8 kB / 0.8789 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004786/0.8091, allocations: 67.92 kB / 0.879 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.8092, allocations: 38.56 kB / 0.879 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.8092, allocations: 4 kB / 0.879 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of matching and sorting (n=17): time 0.0008396/0.8101, allocations: 291.7 kB / 0.8793 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.8101, allocations: 55.41 kB / 0.8794 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.8105, allocations: 332.4 kB / 0.8797 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.8105, allocations: 33.69 kB / 0.8797 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.8107, allocations: 172.4 kB / 0.8799 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/0.8107, allocations: 67.42 kB / 0.8799 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-05/0.8108, allocations: 45.7 kB / 0.88 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.811, allocations: 342.8 kB / 0.8803 GB, free: 184 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.8112, allocations: 67.95 kB / 0.8804 GB, free: 116 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.8114, allocations: 125.2 kB / 0.8805 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.8118, allocations: 205.6 kB / 0.8807 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8118, allocations: 4 kB / 0.8807 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005022/0.8123, allocations: 247.8 kB / 0.8809 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.8123, allocations: 8 kB / 0.8809 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8123, allocations: 0 / 0.8809 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.8124, allocations: 7.984 kB / 0.8809 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.8126, allocations: 43.05 kB / 0.881 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.8126, allocations: 9.969 kB / 0.881 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.8128, allocations: 35.77 kB / 0.881 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.8128, allocations: 8 kB / 0.881 GB, free: 15.39 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.0001729/0.813, allocations: 161.6 kB / 0.8812 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.8131, allocations: 35.77 kB / 0.8812 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/0.8136, allocations: 224.4 kB / 0.8814 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.8136, allocations: 4 kB / 0.8814 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8136, allocations: 0 / 0.8814 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8136, allocations: 0 / 0.8814 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.8147, allocations: 0.6902 MB / 0.8821 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.8147, allocations: 4 kB / 0.8821 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.8149, allocations: 31.92 kB / 0.8821 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.8149, allocations: 11.92 kB / 0.8822 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.8149, allocations: 4 kB / 0.8822 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.8149, allocations: 4 kB / 0.8822 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8149, allocations: 0 / 0.8822 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/0.8157, allocations: 455.6 kB / 0.8826 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.8158, allocations: 51.39 kB / 0.8827 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.8159, allocations: 15.92 kB / 0.8827 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.816, allocations: 4 kB / 0.8827 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.8161, allocations: 19.97 kB / 0.8827 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.8161, allocations: 4 kB / 0.8827 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002513/0.8163, allocations: 235.1 kB / 0.8829 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8163, allocations: 0 / 0.8829 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004038/0.8167, allocations: 83.89 kB / 0.883 GB, free: 13.27 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.001227/0.818, allocations: 1.026 MB / 0.884 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004406/0.8184, allocations: 175.8 kB / 0.8842 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8184, allocations: 0 / 0.8842 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.8186, allocations: 87.83 kB / 0.8843 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008659/0.8195, allocations: 176.9 kB / 0.8844 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.8237, allocations: 3.007 MB / 0.8874 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.8242, allocations: 0.7834 MB / 0.8881 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002293/0.8244, allocations: 62.92 kB / 0.8882 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.8246, allocations: 91.41 kB / 0.8883 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/0.8246, allocations: 0 / 0.8883 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0489/0.8735, allocations: 9.263 MB / 0.8973 GB, free: 14.62 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.06, allocations: 8.047 kB / 0.8973 GB, free: 14.61 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.505971524165943] Failed to read output from testmodel.py, exit status != 0: 12.168918687151745 12.197093802 11.390065296 Calling exit ...