Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001293/0.001293, allocations: 103 kB / 16.45 MB, free: 6.449 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.001386/0.001386, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.423/1.423, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.833/0.833, allocations: 133.9 MB / 442.8 MB, free: 11.32 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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001975/0.001975, allocations: 63.62 kB / 0.6134 GB, free: 8.781 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1782, allocations: 85.85 MB / 0.6972 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003247/0.1815, allocations: 1.904 MB / 0.6991 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5825/0.7639, allocations: 158.8 MB / 0.8541 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.7641, allocations: 0 / 0.8541 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.7643, allocations: 27.73 kB / 0.8542 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.7646, allocations: 71.47 kB / 0.8542 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.7654, allocations: 269.3 kB / 0.8545 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.7657, allocations: 255.1 kB / 0.8547 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.7659, allocations: 59.81 kB / 0.8548 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.7674, allocations: 244.3 kB / 0.855 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.7675, allocations: 91.59 kB / 0.8551 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.7675, allocations: 16 kB / 0.8551 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.7679, allocations: 195.7 kB / 0.8553 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.768, allocations: 43.89 kB / 0.8554 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 9.525e-05/0.7681, allocations: 91.52 kB / 0.8554 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004567/0.7685, allocations: 282.9 kB / 0.8557 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.7686, allocations: 0 / 0.8557 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7686, allocations: 0 / 0.8557 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7686, allocations: 0 / 0.8557 GB, free: 6.281 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001019/0.7696, allocations: 0.5258 MB / 0.8562 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.7696, allocations: 9.109 kB / 0.8562 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.7697, allocations: 50.55 kB / 0.8563 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.7709, allocations: 111.7 kB / 0.8564 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.7712, allocations: 230.7 kB / 0.8566 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/0.7712, allocations: 41.97 kB / 0.8567 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.7713, allocations: 12 kB / 0.8567 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.7718, allocations: 274.5 kB / 0.8569 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.7718, allocations: 3.938 kB / 0.8569 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.7719, allocations: 4 kB / 0.8569 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.7719, allocations: 8.875 kB / 0.8569 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.7724, allocations: 159.8 kB / 0.8571 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.7741, allocations: 1.185 MB / 0.8583 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007807/0.7749, allocations: 190.6 kB / 0.8584 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.7751, allocations: 68.81 kB / 0.8585 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.7751, allocations: 0 / 0.8585 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.7751, allocations: 38.56 kB / 0.8585 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.7751, allocations: 0 / 0.8585 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.002837/0.778, allocations: 0.6235 MB / 0.8591 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.778, allocations: 55.41 kB / 0.8592 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.7783, allocations: 190.4 kB / 0.8594 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.7783, allocations: 37.69 kB / 0.8594 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.7784, allocations: 147.5 kB / 0.8596 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.7784, allocations: 39.67 kB / 0.8596 GB, free: 2 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.7785, allocations: 49.64 kB / 0.8596 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7787, allocations: 334.8 kB / 0.86 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.7789, allocations: 67.89 kB / 0.86 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.7792, allocations: 132.6 kB / 0.8602 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.7797, allocations: 204.1 kB / 0.8603 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7797, allocations: 0 / 0.8603 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001569/0.7812, allocations: 374.8 kB / 0.8607 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.7813, allocations: 8 kB / 0.8607 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7813, allocations: 0 / 0.8607 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.7824, allocations: 165.8 kB / 0.8609 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.7827, allocations: 35.91 kB / 0.8609 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004469/0.7871, allocations: 3.252 MB / 0.8641 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.7875, allocations: 35.83 kB / 0.8641 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.7875, allocations: 12.05 kB / 0.8641 GB, free: 12.99 MB / 0.6387 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.7877, allocations: 133.7 kB / 0.8643 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.7877, allocations: 15.91 kB / 0.8643 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.7891, allocations: 380.2 kB / 0.8646 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7891, allocations: 0 / 0.8646 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.7891, allocations: 0 / 0.8646 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7891, allocations: 0 / 0.8646 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.7895, allocations: 277.4 kB / 0.8649 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7895, allocations: 0 / 0.8649 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.7896, allocations: 27.92 kB / 0.8649 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008511/0.7905, allocations: 141.6 kB / 0.8651 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.7905, allocations: 4 kB / 0.8651 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003938/0.7944, allocations: 3.302 MB / 0.8683 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7944, allocations: 0 / 0.8683 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.7957, allocations: 435.2 kB / 0.8687 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.7959, allocations: 112.9 kB / 0.8688 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.7959, allocations: 7.938 kB / 0.8688 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.7962, allocations: 15.98 kB / 0.8688 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.7963, allocations: 19.97 kB / 0.8688 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.7963, allocations: 4 kB / 0.8689 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001907/0.7965, allocations: 153 kB / 0.869 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7965, allocations: 0 / 0.869 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004514/0.7969, allocations: 71.94 kB / 0.8691 GB, free: 7.52 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00171/0.7986, allocations: 0.9719 MB / 0.87 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.7997, allocations: 444.4 kB / 0.8704 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7998, allocations: 4 kB / 0.8704 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000742/0.8005, allocations: 337.2 kB / 0.8708 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.8009, allocations: 75.31 kB / 0.8708 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005767/0.8067, allocations: 2.511 MB / 0.8733 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.8073, allocations: 0.7323 MB / 0.874 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002617/0.8075, allocations: 42.02 kB / 0.874 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.8077, allocations: 59.41 kB / 0.8741 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of SimCode: time 3.426e-06/0.8077, allocations: 3.938 kB / 0.8741 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.8458, allocations: 7.299 MB / 0.8812 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.75, allocations: 17.64 kB / 0.8812 GB, free: 11.04 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.407977220005705] Failed to read output from testmodel.py, exit status != 0: 12.84954874801042 12.869882098 12.097490695 Calling exit ...