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.0009514/0.0009514, 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.001046/0.001046, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9411/0.9411, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7132/0.7132, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.292e-05, allocations: 11.61 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001889/0.001902, allocations: 1.872 MB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4116/0.4135, allocations: 136.7 MB / 0.7534 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.4137, allocations: 1.375 kB / 0.7534 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.4139, allocations: 27.41 kB / 0.7534 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.4143, allocations: 88.62 kB / 0.7535 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.4149, allocations: 268.3 kB / 0.7538 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.4152, allocations: 270.9 kB / 0.754 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.4154, allocations: 49.75 kB / 0.7541 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.4164, allocations: 298.3 kB / 0.7544 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.4165, allocations: 69.11 kB / 0.7544 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.4166, allocations: 19.34 kB / 0.7545 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.4169, allocations: 184.2 kB / 0.7546 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.826e-05/0.417, allocations: 41.38 kB / 0.7547 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.417, allocations: 73.61 kB / 0.7547 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.4175, allocations: 311.8 kB / 0.755 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.4175, allocations: 4 kB / 0.755 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4175, allocations: 0 / 0.755 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.4175, allocations: 5.281 kB / 0.7551 GB, free: 13.65 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.0007723/0.4183, allocations: 476.4 kB / 0.7555 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4183, allocations: 9.875 kB / 0.7555 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.4184, allocations: 52.25 kB / 0.7556 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006402/0.419, allocations: 108.9 kB / 0.7557 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.4192, allocations: 166.7 kB / 0.7558 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.18e-05/0.4193, allocations: 64.47 kB / 0.7559 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.4193, allocations: 21.72 kB / 0.7559 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.4197, allocations: 315.7 kB / 0.7562 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4197, allocations: 1.062 kB / 0.7562 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.4197, allocations: 10.66 kB / 0.7562 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.4197, allocations: 4.438 kB / 0.7562 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.42, allocations: 165.2 kB / 0.7564 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.4211, allocations: 1.115 MB / 0.7575 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.4217, allocations: 201.3 kB / 0.7577 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.4218, allocations: 68.89 kB / 0.7577 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.4218, allocations: 1.156 kB / 0.7577 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.4218, allocations: 40.81 kB / 0.7578 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.4218, allocations: 0 / 0.7578 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.001447/0.4233, allocations: 488.3 kB / 0.7582 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.4233, allocations: 58.66 kB / 0.7583 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.4235, allocations: 220.4 kB / 0.7585 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.4235, allocations: 31.14 kB / 0.7585 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.4236, allocations: 142.1 kB / 0.7587 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.4236, allocations: 40.88 kB / 0.7587 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.4237, allocations: 49.81 kB / 0.7588 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.4238, allocations: 331.6 kB / 0.7591 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.4239, allocations: 67.16 kB / 0.7591 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.4241, allocations: 158.1 kB / 0.7593 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.4244, allocations: 202.5 kB / 0.7595 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4244, allocations: 1.594 kB / 0.7595 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008307/0.4252, allocations: 374 kB / 0.7598 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4252, allocations: 5.781 kB / 0.7598 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4253, allocations: 2.531 kB / 0.7598 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/0.4258, allocations: 169.8 kB / 0.76 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.4259, allocations: 39.91 kB / 0.76 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.428, allocations: 3.031 MB / 0.763 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.4281, allocations: 34.42 kB / 0.763 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.4281, allocations: 13.55 kB / 0.7631 GB, free: 7.5 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 7.518e-05/0.4282, allocations: 128.7 kB / 0.7632 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.4282, allocations: 15.5 kB / 0.7632 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.4289, allocations: 376.8 kB / 0.7635 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4289, allocations: 1.906 kB / 0.7636 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.4289, allocations: 7.5 kB / 0.7636 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4289, allocations: 2.156 kB / 0.7636 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.4291, allocations: 229.6 kB / 0.7638 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4291, allocations: 0 / 0.7638 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.4291, allocations: 20.12 kB / 0.7638 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003733/0.4295, allocations: 145.3 kB / 0.7639 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.4295, allocations: 1.516 kB / 0.7639 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.4312, allocations: 3.075 MB / 0.7669 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4312, allocations: 0.7188 kB / 0.7669 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006203/0.4318, allocations: 435.4 kB / 0.7674 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.4319, allocations: 37.09 kB / 0.7674 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.4319, allocations: 5.938 kB / 0.7674 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.432, allocations: 19.67 kB / 0.7674 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.4321, allocations: 19.25 kB / 0.7674 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.4321, allocations: 9.078 kB / 0.7674 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001072/0.4322, allocations: 159.1 kB / 0.7676 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4322, allocations: 0 / 0.7676 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002899/0.4325, allocations: 79.05 kB / 0.7677 GB, free: 3.801 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.000794/0.4333, allocations: 0.966 MB / 0.7686 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005663/0.4339, allocations: 439.6 kB / 0.769 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4339, allocations: 0 / 0.769 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.4341, allocations: 354 kB / 0.7694 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.4344, allocations: 59.48 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.002656/0.4371, allocations: 2.516 MB / 0.7719 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.105e-05/0.4372, allocations: 129.3 kB / 0.772 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.4373, allocations: 39.12 kB / 0.772 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.4373, allocations: 58.31 kB / 0.7721 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.4373, allocations: 0 / 0.7721 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.4601, allocations: 8.154 MB / 0.7801 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.621, allocations: 1.688 kB / 0.7801 GB, free: 15.25 MB / 0.6511 GB " [Timeout remaining time 651] (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: 11.508789585903287] Failed to read output from testmodel.py, exit status != 0: 8.713307097554207 8.727497338 8.307149106 Calling exit ...