Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008799/0.0008799, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001002/0.001002, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9353/0.9353, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7556/0.7556, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.704e-05, allocations: 5.984 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003901/0.003928, allocations: 1.874 MB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4462/0.4501, allocations: 136.7 MB / 0.7534 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.4503, allocations: 1.562 kB / 0.7534 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.4505, allocations: 31.17 kB / 0.7534 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.4508, allocations: 80.66 kB / 0.7535 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007651/0.4516, allocations: 269.1 kB / 0.7537 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.4519, allocations: 276.3 kB / 0.754 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.452, allocations: 43.5 kB / 0.754 GB, free: 14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009771/0.453, allocations: 309.6 kB / 0.7543 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.4531, allocations: 73.47 kB / 0.7544 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.4531, allocations: 15.78 kB / 0.7544 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.4534, allocations: 178.9 kB / 0.7546 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.4535, allocations: 45.59 kB / 0.7546 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.4535, allocations: 63.73 kB / 0.7547 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.4539, allocations: 318.9 kB / 0.755 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4539, allocations: 0 / 0.755 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4539, allocations: 0 / 0.755 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.4539, allocations: 5.344 kB / 0.755 GB, free: 13.66 MB / 0.6355 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.0006303/0.4546, allocations: 474.9 kB / 0.7554 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4546, allocations: 15.5 kB / 0.7555 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.4547, allocations: 48.22 kB / 0.7555 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006368/0.4553, allocations: 112.7 kB / 0.7556 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.4555, allocations: 167.5 kB / 0.7558 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.237e-05/0.4556, allocations: 68.05 kB / 0.7558 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.4556, allocations: 18.12 kB / 0.7559 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.456, allocations: 316 kB / 0.7562 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.456, allocations: 3.938 kB / 0.7562 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.456, allocations: 10.38 kB / 0.7562 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.456, allocations: 5.25 kB / 0.7562 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.4563, allocations: 164.2 kB / 0.7563 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009327/0.4572, allocations: 1.116 MB / 0.7574 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.4577, allocations: 203.7 kB / 0.7576 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.4578, allocations: 71.02 kB / 0.7577 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.4578, allocations: 1.438 kB / 0.7577 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.4578, allocations: 32.73 kB / 0.7577 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.094e-06/0.4578, allocations: 1.469 kB / 0.7577 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.001375/0.4592, allocations: 487.4 kB / 0.7582 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.4592, allocations: 53.95 kB / 0.7582 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.4594, allocations: 222.3 kB / 0.7584 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.4594, allocations: 39.45 kB / 0.7585 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.4595, allocations: 135.1 kB / 0.7586 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.4595, allocations: 39.91 kB / 0.7586 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.4595, allocations: 49.55 kB / 0.7587 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.366e-05/0.4596, allocations: 332.2 kB / 0.759 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.4597, allocations: 73.72 kB / 0.7591 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.4598, allocations: 151.6 kB / 0.7592 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.4601, allocations: 206.1 kB / 0.7594 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4601, allocations: 0 / 0.7594 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007615/0.4609, allocations: 374.9 kB / 0.7598 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4609, allocations: 7.25 kB / 0.7598 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4609, allocations: 5.156 kB / 0.7598 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/0.4614, allocations: 166.8 kB / 0.76 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.4615, allocations: 39.91 kB / 0.76 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.4637, allocations: 3.024 MB / 0.7629 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.4639, allocations: 43.98 kB / 0.763 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.4639, allocations: 10.14 kB / 0.763 GB, free: 7.508 MB / 0.6355 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 8.195e-05/0.464, allocations: 127.6 kB / 0.7631 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.464, allocations: 21.38 kB / 0.7631 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007104/0.4647, allocations: 368 kB / 0.7635 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4647, allocations: 2.281 kB / 0.7635 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.4647, allocations: 4 kB / 0.7635 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4647, allocations: 1.781 kB / 0.7635 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.4649, allocations: 226.1 kB / 0.7637 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4649, allocations: 4.594 kB / 0.7637 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.959e-05/0.465, allocations: 23.47 kB / 0.7637 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/0.4654, allocations: 144.7 kB / 0.7639 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.4654, allocations: 5.219 kB / 0.7639 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.4672, allocations: 3.079 MB / 0.7669 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4672, allocations: 4.297 kB / 0.7669 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006868/0.4679, allocations: 429.4 kB / 0.7673 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/0.468, allocations: 40.16 kB / 0.7673 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.468, allocations: 2.109 kB / 0.7673 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4681, allocations: 19.41 kB / 0.7674 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/0.4682, allocations: 21.05 kB / 0.7674 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.4682, allocations: 8.297 kB / 0.7674 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001313/0.4683, allocations: 157.7 kB / 0.7675 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4683, allocations: 0 / 0.7675 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003422/0.4687, allocations: 70.98 kB / 0.7676 GB, free: 3.809 MB / 0.6355 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.0008988/0.4696, allocations: 0.9718 MB / 0.7686 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006454/0.4702, allocations: 440.1 kB / 0.769 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4702, allocations: 1.25 kB / 0.769 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.4705, allocations: 349.1 kB / 0.7693 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.4709, allocations: 68.27 kB / 0.7694 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.4739, allocations: 2.516 MB / 0.7718 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.474, allocations: 124.2 kB / 0.772 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001324/0.4741, allocations: 36.48 kB / 0.772 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/0.4742, allocations: 57.53 kB / 0.772 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.4742, allocations: 1.469 kB / 0.772 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.5004, allocations: 8.157 MB / 0.78 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.623, allocations: 18.36 kB / 0.78 GB, free: 15.23 MB / 0.6511 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.615420321002603] Failed to read output from testmodel.py, exit status != 0: 8.721192909404635 8.734374869 8.278187679 Calling exit ...