Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001283/0.001283, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001402/0.001402, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.462/1.462, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8681/0.8681, allocations: 133.9 MB / 443.5 MB, free: 13.96 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.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.00197/0.00197, allocations: 68.02 kB / 0.6141 GB, free: 38.33 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1692, allocations: 85.85 MB / 0.698 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6593/0.8285, allocations: 182.9 MB / 0.8766 GB, free: 1.836 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00934/0.8378, allocations: 7.885 MB / 0.8843 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000842/0.8386, allocations: 28.41 kB / 0.8843 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007032/0.8393, allocations: 248.4 kB / 0.8845 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.8428, allocations: 1.269 MB / 0.8858 GB, free: 1.707 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.8448, allocations: 0.7356 MB / 0.8865 GB, free: 1.688 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.8466, allocations: 1.085 MB / 0.8876 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006442/0.8473, allocations: 349 kB / 0.8879 GB, free: 1.664 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002914/0.8502, allocations: 0.8663 MB / 0.8887 GB, free: 1.66 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009161/0.8511, allocations: 451.9 kB / 0.8892 GB, free: 1.66 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.267e-05/0.8512, allocations: 38.47 kB / 0.8892 GB, free: 1.66 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.8533, allocations: 1.014 MB / 0.8902 GB, free: 1.645 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.8535, allocations: 162.3 kB / 0.8903 GB, free: 1.641 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003149/0.8538, allocations: 251 kB / 0.8906 GB, free: 1.641 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.8553, allocations: 0.9461 MB / 0.8915 GB, free: 1.578 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8553, allocations: 2.172 kB / 0.8915 GB, free: 1.578 MB / 0.67 GB Notification: Performance of FrontEnd: time 7.41e-07/0.8553, allocations: 0 / 0.8915 GB, free: 1.578 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.8553, allocations: 2.781 kB / 0.8915 GB, free: 1.578 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001154/0.8564, allocations: 0.8248 MB / 0.8923 GB, free: 17.02 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.8565, allocations: 11.78 kB / 0.8923 GB, free: 17.02 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.31e-05/0.8565, allocations: 10.38 kB / 0.8923 GB, free: 17.01 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.791e-05/0.8566, allocations: 76.97 kB / 0.8924 GB, free: 16.97 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008964/0.8574, allocations: 155.4 kB / 0.8926 GB, free: 16.95 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005487/0.858, allocations: 404.4 kB / 0.8929 GB, free: 16.7 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.858, allocations: 32.75 kB / 0.893 GB, free: 16.7 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.8581, allocations: 35.78 kB / 0.893 GB, free: 16.7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.8587, allocations: 461.1 kB / 0.8934 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.8587, allocations: 3.984 kB / 0.8935 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.8587, allocations: 16.53 kB / 0.8935 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.8588, allocations: 11.59 kB / 0.8935 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.8593, allocations: 316.7 kB / 0.8938 GB, free: 16.58 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.002014/0.8613, allocations: 2.016 MB / 0.8957 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.8616, allocations: 224.8 kB / 0.896 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.8619, allocations: 136.6 kB / 0.8961 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000578/0.8624, allocations: 305.6 kB / 0.8964 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.8625, allocations: 37.38 kB / 0.8964 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.8625, allocations: 0.875 kB / 0.8964 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.0009323/0.8634, allocations: 460.8 kB / 0.8969 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.8634, allocations: 55.12 kB / 0.8969 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.8638, allocations: 399.9 kB / 0.8973 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.8638, allocations: 26.8 kB / 0.8973 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.864, allocations: 235.6 kB / 0.8975 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.864, allocations: 89.14 kB / 0.8976 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.8641, allocations: 58 kB / 0.8977 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.8643, allocations: 350.8 kB / 0.898 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.8645, allocations: 109.6 kB / 0.8981 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.8647, allocations: 184.5 kB / 0.8983 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.8652, allocations: 309.3 kB / 0.8986 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8652, allocations: 0.9062 kB / 0.8986 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005668/0.8657, allocations: 366.8 kB / 0.8989 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.8658, allocations: 10.25 kB / 0.899 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.8658, allocations: 3.578 kB / 0.899 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.8658, allocations: 3.375 kB / 0.899 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.866, allocations: 55.38 kB / 0.899 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.866, allocations: 6.844 kB / 0.899 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.8663, allocations: 42.86 kB / 0.8991 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.8663, allocations: 19.81 kB / 0.8991 GB, free: 13.89 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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.8665, allocations: 167.7 kB / 0.8992 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.8666, allocations: 38.39 kB / 0.8993 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006272/0.8672, allocations: 377 kB / 0.8996 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.8672, allocations: 4.203 kB / 0.8996 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8672, allocations: 0.7812 kB / 0.8996 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.8672, allocations: 2.531 kB / 0.8996 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.8684, allocations: 0.9413 MB / 0.9006 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.8684, allocations: 6.438 kB / 0.9006 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.8687, allocations: 48.14 kB / 0.9006 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.8687, allocations: 8.922 kB / 0.9006 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.8687, allocations: 7.562 kB / 0.9006 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.8687, allocations: 3.125 kB / 0.9006 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8687, allocations: 4.547 kB / 0.9006 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/0.8695, allocations: 0.6382 MB / 0.9013 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.8697, allocations: 141.6 kB / 0.9014 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.8698, allocations: 13.34 kB / 0.9014 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.87, allocations: 11.59 kB / 0.9014 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.87, allocations: 22 kB / 0.9014 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.87, allocations: 11.25 kB / 0.9015 GB, free: 13 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002446/0.8703, allocations: 284.1 kB / 0.9017 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8703, allocations: 0 / 0.9017 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004716/0.8708, allocations: 113.3 kB / 0.9018 GB, free: 12.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (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 Backend phase and start with SimCode phase: time 0.001305/0.8721, allocations: 1.222 MB / 0.903 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005597/0.8726, allocations: 282.2 kB / 0.9033 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8726, allocations: 0 / 0.9033 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.8729, allocations: 143.8 kB / 0.9034 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.8739, allocations: 224.4 kB / 0.9036 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/0.8784, allocations: 3.802 MB / 0.9074 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.8788, allocations: 0.8309 MB / 0.9082 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003371/0.8792, allocations: 100.3 kB / 0.9083 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.8794, allocations: 133.6 kB / 0.9084 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of SimCode: time 8.92e-07/0.8794, allocations: 0.875 kB / 0.9084 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.9139, allocations: 11.76 MB / 0.9199 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.94/9.854, allocations: 9.688 kB / 0.9199 GB, free: 8.766 MB / 0.6856 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.637587674020324] Failed to read output from testmodel.py, exit status != 0: 10.257649587991182 10.001839772 9.142375194 Calling exit ...