Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.001715/0.001715, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001851/0.001851, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.457/1.457, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8807/0.8807, allocations: 133.9 MB / 443.5 MB, free: 13.88 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.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",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.001969/0.001969, allocations: 69 kB / 0.6141 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1506, allocations: 85.86 MB / 0.698 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2031/0.3537, allocations: 170.8 MB / 0.8647 GB, free: 3.488 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002949/0.3566, allocations: 1.561 MB / 0.8663 GB, free: 1.926 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.3569, allocations: 19.81 kB / 0.8663 GB, free: 1.906 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004851/0.3573, allocations: 154.8 kB / 0.8664 GB, free: 1.754 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.359, allocations: 0.7312 MB / 0.8671 GB, free: 1.02 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.3604, allocations: 0.6033 MB / 0.8677 GB, free: 428 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.4155/0.7759, allocations: 0.7031 MB / 0.8684 GB, free: 2.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005125/0.7764, allocations: 198 kB / 0.8686 GB, free: 2.492 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008054/0.7772, allocations: 348.8 kB / 0.8689 GB, free: 2.492 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.7776, allocations: 232.2 kB / 0.8692 GB, free: 2.492 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.7776, allocations: 22.19 kB / 0.8692 GB, free: 2.492 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.7793, allocations: 0.9279 MB / 0.8701 GB, free: 2.492 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.7795, allocations: 117.1 kB / 0.8702 GB, free: 2.492 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.7797, allocations: 161.7 kB / 0.8703 GB, free: 2.492 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.7808, allocations: 0.7295 MB / 0.8711 GB, free: 2.453 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7808, allocations: 1.203 kB / 0.8711 GB, free: 2.453 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7808, allocations: 0 / 0.8711 GB, free: 2.453 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.7809, allocations: 0.8438 kB / 0.8711 GB, free: 2.453 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001111/0.782, allocations: 0.6633 MB / 0.8717 GB, free: 17.96 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.782, allocations: 12.3 kB / 0.8717 GB, free: 17.96 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.877e-05/0.782, allocations: 6.656 kB / 0.8717 GB, free: 17.96 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.439e-05/0.7821, allocations: 57.84 kB / 0.8718 GB, free: 17.92 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.7833, allocations: 162.1 kB / 0.8719 GB, free: 17.9 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/0.7838, allocations: 320.5 kB / 0.8722 GB, free: 17.67 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.7838, allocations: 17.41 kB / 0.8723 GB, free: 17.67 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.7839, allocations: 24.69 kB / 0.8723 GB, free: 17.67 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.7844, allocations: 272.6 kB / 0.8725 GB, free: 17.6 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.7844, allocations: 2.812 kB / 0.8725 GB, free: 17.6 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.7844, allocations: 11.05 kB / 0.8726 GB, free: 17.6 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.7844, allocations: 5.781 kB / 0.8726 GB, free: 17.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/0.7849, allocations: 200.8 kB / 0.8728 GB, free: 17.59 MB / 0.6856 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.001509/0.7864, allocations: 1.218 MB / 0.8739 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.7867, allocations: 125.4 kB / 0.8741 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.7869, allocations: 88.16 kB / 0.8741 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006354/0.7875, allocations: 305.7 kB / 0.8744 GB, free: 16.45 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.7875, allocations: 41 kB / 0.8745 GB, free: 16.41 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.7875, allocations: 0 / 0.8745 GB, free: 16.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0008068/0.7883, allocations: 274.8 kB / 0.8747 GB, free: 16.36 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.7884, allocations: 54.83 kB / 0.8748 GB, free: 16.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.7887, allocations: 316.6 kB / 0.8751 GB, free: 16.19 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.7888, allocations: 32.88 kB / 0.8751 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.7889, allocations: 179.5 kB / 0.8753 GB, free: 16.05 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.7889, allocations: 53.84 kB / 0.8753 GB, free: 16.02 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.789, allocations: 44.62 kB / 0.8754 GB, free: 16 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7892, allocations: 347.3 kB / 0.8757 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.7893, allocations: 67.3 kB / 0.8758 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.7896, allocations: 125.5 kB / 0.8759 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.7899, allocations: 189.2 kB / 0.8761 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.7899, allocations: 1.594 kB / 0.8761 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004809/0.7904, allocations: 239.8 kB / 0.8763 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.7904, allocations: 6.562 kB / 0.8763 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.7904, allocations: 3.125 kB / 0.8763 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.7905, allocations: 3.828 kB / 0.8763 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.7907, allocations: 42.52 kB / 0.8764 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.7907, allocations: 9.703 kB / 0.8764 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.7909, allocations: 33.53 kB / 0.8764 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.7909, allocations: 8.75 kB / 0.8764 GB, free: 15.52 MB / 0.6856 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 (22): * Single equations (assignments): 22 * 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.0001617/0.7911, allocations: 152.1 kB / 0.8766 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.7911, allocations: 30.41 kB / 0.8766 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/0.7916, allocations: 223.2 kB / 0.8768 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7916, allocations: 1.719 kB / 0.8768 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.7916, allocations: 6.578 kB / 0.8768 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7916, allocations: 1.453 kB / 0.8768 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.7927, allocations: 0.6861 MB / 0.8775 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.7927, allocations: 2.578 kB / 0.8775 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.7928, allocations: 37.42 kB / 0.8775 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.7928, allocations: 2.781 kB / 0.8775 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.7929, allocations: 3.844 kB / 0.8775 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.7929, allocations: 3.484 kB / 0.8775 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7929, allocations: 2.969 kB / 0.8775 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006657/0.7935, allocations: 439.2 kB / 0.878 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.7936, allocations: 125.5 kB / 0.8781 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.7937, allocations: 9.25 kB / 0.8781 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.7939, allocations: 8.719 kB / 0.8781 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.7939, allocations: 21.53 kB / 0.8781 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.7939, allocations: 5.938 kB / 0.8781 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002321/0.7942, allocations: 225.2 kB / 0.8783 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7942, allocations: 1.656 kB / 0.8783 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004346/0.7946, allocations: 81.73 kB / 0.8784 GB, free: 14.57 MB / 0.6856 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 (15): * Single equations (assignments): 15 * 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.001117/0.7957, allocations: 1.014 MB / 0.8794 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.7962, allocations: 165.5 kB / 0.8796 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7962, allocations: 0 / 0.8796 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.7964, allocations: 85.67 kB / 0.8796 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009239/0.7973, allocations: 169.8 kB / 0.8798 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.8015, allocations: 2.911 MB / 0.8826 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.802, allocations: 0.7788 MB / 0.8834 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000252/0.8022, allocations: 64.89 kB / 0.8835 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.8023, allocations: 85.27 kB / 0.8836 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of SimCode: time 4.51e-07/0.8023, allocations: 2.094 kB / 0.8836 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.8282, allocations: 8.868 MB / 0.8922 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.609/9.437, allocations: 11.7 kB / 0.8922 GB, free: 11 MB / 0.6856 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.231230040022638] Failed to read output from testmodel.py, exit status != 0: 9.846427106007468 9.587083708 8.802383597 Calling exit ...