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.00132/0.00132, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001532/0.001532, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.969 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.8509/0.8509, allocations: 134 MB / 446.4 MB, free: 10.22 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.003073/0.003073, allocations: 69.22 kB / 0.6186 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1904, allocations: 85.9 MB / 0.7025 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5468/0.7372, allocations: 183.2 MB / 0.8814 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.7485, allocations: 7.939 MB / 0.8891 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006036/0.7491, allocations: 23.81 kB / 0.8891 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008474/0.7499, allocations: 254.1 kB / 0.8894 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003575/0.7535, allocations: 1.287 MB / 0.8906 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.7556, allocations: 0.7693 MB / 0.8914 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.7572, allocations: 1.103 MB / 0.8925 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006947/0.7579, allocations: 338.3 kB / 0.8928 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.7606, allocations: 0.8721 MB / 0.8936 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008253/0.7614, allocations: 454.3 kB / 0.8941 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.373e-05/0.7615, allocations: 40 kB / 0.8941 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.7634, allocations: 1.025 MB / 0.8951 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.7636, allocations: 159.5 kB / 0.8953 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.764, allocations: 258.7 kB / 0.8955 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.7657, allocations: 0.9417 MB / 0.8964 GB, free: 15.92 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7658, allocations: 0 / 0.8964 GB, free: 15.92 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7658, allocations: 0 / 0.8964 GB, free: 15.92 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.334e-05/0.7658, allocations: 4 kB / 0.8964 GB, free: 15.92 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.00135/0.7671, allocations: 0.7497 MB / 0.8972 GB, free: 15.14 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7672, allocations: 11.97 kB / 0.8972 GB, free: 15.12 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.585e-05/0.7673, allocations: 77.84 kB / 0.8973 GB, free: 15.04 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009724/0.7682, allocations: 151.5 kB / 0.8974 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.7689, allocations: 340.4 kB / 0.8977 GB, free: 14.54 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.769, allocations: 29 kB / 0.8978 GB, free: 14.51 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.769, allocations: 40 kB / 0.8978 GB, free: 14.47 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.7698, allocations: 446.3 kB / 0.8982 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.7698, allocations: 7.984 kB / 0.8982 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.7699, allocations: 12 kB / 0.8982 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.7699, allocations: 12 kB / 0.8982 GB, free: 13.97 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006458/0.7705, allocations: 315.8 kB / 0.8985 GB, free: 13.66 MB / 0.67 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.00253/0.773, allocations: 1.977 MB / 0.9005 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.7735, allocations: 226.3 kB / 0.9007 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.7737, allocations: 144 kB / 0.9008 GB, free: 11.15 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005053/0.7742, allocations: 75.91 kB / 0.9009 GB, free: 11.08 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.7743, allocations: 38.56 kB / 0.9009 GB, free: 11.03 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.7743, allocations: 0 / 0.9009 GB, free: 11.03 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.001075/0.7754, allocations: 457.4 kB / 0.9014 GB, free: 10.58 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.7754, allocations: 59.34 kB / 0.9014 GB, free: 10.51 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.7759, allocations: 390 kB / 0.9018 GB, free: 10.11 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.7759, allocations: 29.7 kB / 0.9018 GB, free: 10.08 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.7762, allocations: 236.5 kB / 0.9021 GB, free: 9.844 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.102e-05/0.7763, allocations: 87.27 kB / 0.9021 GB, free: 9.758 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.7764, allocations: 57.66 kB / 0.9022 GB, free: 9.695 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.7765, allocations: 358.7 kB / 0.9025 GB, free: 9.336 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.7768, allocations: 115.8 kB / 0.9027 GB, free: 9.223 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.7771, allocations: 182.8 kB / 0.9028 GB, free: 9.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.7776, allocations: 309.1 kB / 0.9031 GB, free: 8.695 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7776, allocations: 4 kB / 0.9031 GB, free: 8.691 MB / 0.67 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006847/0.7783, allocations: 361 kB / 0.9035 GB, free: 8.332 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.7783, allocations: 4 kB / 0.9035 GB, free: 8.328 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7783, allocations: 4 kB / 0.9035 GB, free: 8.324 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.7784, allocations: 4 kB / 0.9035 GB, free: 8.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.7786, allocations: 60.12 kB / 0.9035 GB, free: 8.262 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.7787, allocations: 7.984 kB / 0.9035 GB, free: 8.254 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.7789, allocations: 35.73 kB / 0.9036 GB, free: 8.219 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.779, allocations: 19.92 kB / 0.9036 GB, free: 8.199 MB / 0.67 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.0002048/0.7792, allocations: 165.7 kB / 0.9038 GB, free: 8.027 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.7792, allocations: 43.72 kB / 0.9038 GB, free: 7.984 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007635/0.78, allocations: 371.3 kB / 0.9042 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.78, allocations: 0 / 0.9042 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.78, allocations: 0 / 0.9042 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.78, allocations: 4 kB / 0.9042 GB, free: 7.621 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.7816, allocations: 0.9148 MB / 0.905 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.7816, allocations: 7.984 kB / 0.9051 GB, free: 6.629 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.7818, allocations: 51.95 kB / 0.9051 GB, free: 6.578 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.7819, allocations: 4 kB / 0.9051 GB, free: 6.574 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.7819, allocations: 11.94 kB / 0.9051 GB, free: 6.562 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7819, allocations: 0 / 0.9051 GB, free: 6.562 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7819, allocations: 4.219 kB / 0.9051 GB, free: 6.559 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000992/0.7829, allocations: 0.6365 MB / 0.9057 GB, free: 5.887 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.783, allocations: 71.66 kB / 0.9058 GB, free: 5.816 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.7831, allocations: 8 kB / 0.9058 GB, free: 5.809 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.7833, allocations: 19.92 kB / 0.9058 GB, free: 5.789 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.7834, allocations: 11.97 kB / 0.9059 GB, free: 5.777 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.7834, allocations: 16.06 kB / 0.9059 GB, free: 5.762 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003201/0.7837, allocations: 283.1 kB / 0.9061 GB, free: 5.484 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.7837, allocations: 0 / 0.9061 GB, free: 5.484 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004617/0.7842, allocations: 115.8 kB / 0.9062 GB, free: 5.371 MB / 0.67 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.0015/0.7857, allocations: 1.223 MB / 0.9074 GB, free: 4.105 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005991/0.7863, allocations: 279.6 kB / 0.9077 GB, free: 3.832 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7863, allocations: 0 / 0.9077 GB, free: 3.832 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.7866, allocations: 148.5 kB / 0.9079 GB, free: 3.688 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.7877, allocations: 226.3 kB / 0.9081 GB, free: 3.477 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/0.7932, allocations: 3.808 MB / 0.9118 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.7937, allocations: 0.8194 MB / 0.9126 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003277/0.794, allocations: 103.3 kB / 0.9127 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.7942, allocations: 139.4 kB / 0.9128 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/0.7942, allocations: 0 / 0.9128 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04598/0.8402, allocations: 11.97 MB / 0.9245 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.41, allocations: 9.578 kB / 0.9245 GB, free: 2.707 MB / 0.6856 GB " [Timeout remaining time 647] (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: 15.945213044062257] Failed to read output from testmodel.py, exit status != 0: 12.52185321203433 12.546881359 11.776427874 Calling exit ...