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.001835/0.001835, allocations: 113.5 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.002179/0.002179, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.811/0.811, allocations: 134 MB / 447.2 MB, free: 10.25 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.001884/0.001884, allocations: 66.86 kB / 0.6193 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1686, allocations: 85.9 MB / 0.7032 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5638/0.7324, allocations: 183.2 MB / 0.8821 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.7426, allocations: 7.938 MB / 0.8899 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005869/0.7432, allocations: 27.81 kB / 0.8899 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007394/0.744, allocations: 242.2 kB / 0.8901 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00342/0.7474, allocations: 1.295 MB / 0.8914 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.7495, allocations: 0.7721 MB / 0.8922 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001678/0.7512, allocations: 1.103 MB / 0.8932 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006008/0.7518, allocations: 330.4 kB / 0.8936 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0026/0.7544, allocations: 0.8702 MB / 0.8944 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007291/0.7551, allocations: 458.3 kB / 0.8948 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.091e-05/0.7552, allocations: 40 kB / 0.8949 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.7573, allocations: 1.017 MB / 0.8959 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.7574, allocations: 163.5 kB / 0.896 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.7577, allocations: 250.7 kB / 0.8963 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.7592, allocations: 0.9494 MB / 0.8972 GB, free: 15.96 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7592, allocations: 0 / 0.8972 GB, free: 15.96 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7592, allocations: 7.875 kB / 0.8972 GB, free: 15.95 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.7592, allocations: 4 kB / 0.8972 GB, free: 15.95 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.001233/0.7605, allocations: 0.7458 MB / 0.8979 GB, free: 15.17 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.7605, allocations: 8.031 kB / 0.8979 GB, free: 15.16 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.481e-05/0.7605, allocations: 13 kB / 0.898 GB, free: 15.15 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.7606, allocations: 82.47 kB / 0.898 GB, free: 15.06 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009272/0.7615, allocations: 147.6 kB / 0.8982 GB, free: 14.92 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006074/0.7622, allocations: 344.4 kB / 0.8985 GB, free: 14.56 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.7622, allocations: 29 kB / 0.8985 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.7622, allocations: 36 kB / 0.8986 GB, free: 14.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/0.7631, allocations: 450.3 kB / 0.899 GB, free: 14.03 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.7631, allocations: 4 kB / 0.899 GB, free: 14.02 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.7631, allocations: 16 kB / 0.899 GB, free: 14.01 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.7631, allocations: 8 kB / 0.899 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006283/0.7637, allocations: 323.7 kB / 0.8993 GB, free: 13.68 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.002386/0.7661, allocations: 1.973 MB / 0.9013 GB, free: 11.55 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.7666, allocations: 226.4 kB / 0.9015 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.7668, allocations: 132.8 kB / 0.9016 GB, free: 11.18 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004894/0.7673, allocations: 83.89 kB / 0.9017 GB, free: 11.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.7674, allocations: 30.56 kB / 0.9017 GB, free: 11.06 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 1.784e-06/0.7674, allocations: 0 / 0.9017 GB, free: 11.06 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.00112/0.7685, allocations: 464.4 kB / 0.9022 GB, free: 10.61 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.7685, allocations: 55.41 kB / 0.9022 GB, free: 10.54 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.769, allocations: 394 kB / 0.9026 GB, free: 10.14 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.769, allocations: 33.7 kB / 0.9026 GB, free: 10.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.7692, allocations: 236.5 kB / 0.9028 GB, free: 9.867 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.778e-05/0.7693, allocations: 79.28 kB / 0.9029 GB, free: 9.789 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.7694, allocations: 65.64 kB / 0.903 GB, free: 9.719 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.7696, allocations: 350.7 kB / 0.9033 GB, free: 9.367 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.7699, allocations: 115.9 kB / 0.9034 GB, free: 9.254 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.7702, allocations: 178.8 kB / 0.9036 GB, free: 9.055 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/0.7707, allocations: 310.5 kB / 0.9039 GB, free: 8.727 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.7707, allocations: 3.938 kB / 0.9039 GB, free: 8.723 MB / 0.67 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006723/0.7714, allocations: 363.8 kB / 0.9042 GB, free: 8.363 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.7714, allocations: 8 kB / 0.9042 GB, free: 8.355 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.7714, allocations: 4.219 kB / 0.9042 GB, free: 8.352 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.7714, allocations: 4 kB / 0.9043 GB, free: 8.348 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.7717, allocations: 59.91 kB / 0.9043 GB, free: 8.289 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.7717, allocations: 4 kB / 0.9043 GB, free: 8.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.772, allocations: 43.66 kB / 0.9044 GB, free: 8.242 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.772, allocations: 15.94 kB / 0.9044 GB, free: 8.227 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.0002029/0.7722, allocations: 169.7 kB / 0.9045 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.7723, allocations: 47.75 kB / 0.9046 GB, free: 8.004 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000751/0.773, allocations: 367.9 kB / 0.9049 GB, free: 7.645 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.773, allocations: 4 kB / 0.9049 GB, free: 7.641 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7731, allocations: 0 / 0.9049 GB, free: 7.641 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.7731, allocations: 3.938 kB / 0.9049 GB, free: 7.637 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.7746, allocations: 0.9184 MB / 0.9058 GB, free: 6.648 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7746, allocations: 0 / 0.9058 GB, free: 6.648 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.7748, allocations: 47.91 kB / 0.9059 GB, free: 6.602 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.7748, allocations: 4 kB / 0.9059 GB, free: 6.598 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.7749, allocations: 8.219 kB / 0.9059 GB, free: 6.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.7749, allocations: 8 kB / 0.9059 GB, free: 6.582 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7749, allocations: 0.5625 kB / 0.9059 GB, free: 6.582 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/0.7759, allocations: 0.6344 MB / 0.9065 GB, free: 5.914 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.776, allocations: 79.66 kB / 0.9066 GB, free: 5.836 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.7761, allocations: 0 / 0.9066 GB, free: 5.836 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.7763, allocations: 16.55 kB / 0.9066 GB, free: 5.82 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.7763, allocations: 24.03 kB / 0.9066 GB, free: 5.797 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.7764, allocations: 11.94 kB / 0.9066 GB, free: 5.785 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003121/0.7767, allocations: 279.1 kB / 0.9069 GB, free: 5.512 MB / 0.67 GB Notification: Performance of sort global known variables: time 6e-08/0.7767, allocations: 0 / 0.9069 GB, free: 5.512 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004699/0.7771, allocations: 115.8 kB / 0.907 GB, free: 5.398 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.001517/0.7787, allocations: 1.227 MB / 0.9082 GB, free: 4.125 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006038/0.7793, allocations: 278.1 kB / 0.9085 GB, free: 3.855 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7793, allocations: 0 / 0.9085 GB, free: 3.855 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.7795, allocations: 152.6 kB / 0.9086 GB, free: 3.707 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.7807, allocations: 232.4 kB / 0.9089 GB, free: 3.496 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005488/0.7862, allocations: 3.796 MB / 0.9126 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.7867, allocations: 0.8311 MB / 0.9134 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003591/0.7871, allocations: 99.41 kB / 0.9135 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.7873, allocations: 135.4 kB / 0.9136 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of SimCode: time 7.51e-07/0.7873, allocations: 0 / 0.9136 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.8255, allocations: 12.01 MB / 0.9253 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.49, allocations: 9.688 kB / 0.9253 GB, free: 2.703 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: 16.092251329915598] Failed to read output from testmodel.py, exit status != 0: 12.6539878139738 12.670150794 11.907672589 Calling exit ...