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.001401/0.001401, 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.001668/0.001668, 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.9347/0.9347, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7429/0.7429, allocations: 154.6 MB / 413.7 MB, free: 0.832 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.934e-06/1.934e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.553e-05, allocations: 5.375 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002317/0.002342, allocations: 1.875 MB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4311/0.4334, allocations: 136.7 MB / 0.7534 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.4336, allocations: 2.75 kB / 0.7534 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.4338, allocations: 26.61 kB / 0.7534 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.4341, allocations: 87.06 kB / 0.7535 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007159/0.4348, allocations: 270 kB / 0.7537 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.4351, allocations: 270.3 kB / 0.754 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.4352, allocations: 49.09 kB / 0.754 GB, free: 14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009684/0.4362, allocations: 300.9 kB / 0.7543 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.4363, allocations: 78.3 kB / 0.7544 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.4363, allocations: 16.25 kB / 0.7544 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.4367, allocations: 170.3 kB / 0.7546 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.4367, allocations: 45.95 kB / 0.7546 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.4368, allocations: 75.27 kB / 0.7547 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004585/0.4373, allocations: 311.2 kB / 0.755 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.4373, allocations: 0 / 0.755 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4373, allocations: 5.094 kB / 0.755 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.4373, allocations: 0 / 0.755 GB, free: 13.67 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.0006608/0.4379, allocations: 475.9 kB / 0.7554 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.438, allocations: 11.34 kB / 0.7555 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.438, allocations: 47.55 kB / 0.7555 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006115/0.4386, allocations: 117.4 kB / 0.7556 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.4389, allocations: 163 kB / 0.7558 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.4389, allocations: 68.7 kB / 0.7558 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.4389, allocations: 18.06 kB / 0.7559 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.4393, allocations: 318.9 kB / 0.7562 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.4393, allocations: 1.25 kB / 0.7562 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.4393, allocations: 6.25 kB / 0.7562 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.4393, allocations: 4.844 kB / 0.7562 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.4396, allocations: 168.5 kB / 0.7563 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009263/0.4405, allocations: 1.123 MB / 0.7574 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.441, allocations: 199.1 kB / 0.7576 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4411, allocations: 65.39 kB / 0.7577 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.4411, allocations: 4 kB / 0.7577 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.4411, allocations: 32.38 kB / 0.7577 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.4411, allocations: 1.438 kB / 0.7577 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.001323/0.4425, allocations: 0.4923 MB / 0.7582 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.4425, allocations: 54.53 kB / 0.7582 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.4426, allocations: 223.9 kB / 0.7585 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.4427, allocations: 30.83 kB / 0.7585 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.4427, allocations: 133.9 kB / 0.7586 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.4427, allocations: 40.81 kB / 0.7587 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.4428, allocations: 49.77 kB / 0.7587 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.332e-05/0.4428, allocations: 332 kB / 0.759 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.4429, allocations: 70.02 kB / 0.7591 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.4431, allocations: 156.2 kB / 0.7592 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.4433, allocations: 204.6 kB / 0.7594 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.4433, allocations: 2.031 kB / 0.7594 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000763/0.4441, allocations: 374.9 kB / 0.7598 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4441, allocations: 6.656 kB / 0.7598 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4441, allocations: 3.906 kB / 0.7598 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/0.4447, allocations: 162.3 kB / 0.76 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.4448, allocations: 40.39 kB / 0.76 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.4469, allocations: 3.025 MB / 0.7629 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.4471, allocations: 35.84 kB / 0.763 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.4471, allocations: 17.11 kB / 0.763 GB, free: 7.516 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 0.0001076/0.4472, allocations: 132.3 kB / 0.7631 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.4473, allocations: 17.12 kB / 0.7631 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006904/0.4479, allocations: 370.1 kB / 0.7635 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4479, allocations: 2.531 kB / 0.7635 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.448, allocations: 8.203 kB / 0.7635 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.448, allocations: 1.312 kB / 0.7635 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.4482, allocations: 225.6 kB / 0.7637 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4482, allocations: 1.125 kB / 0.7637 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.4482, allocations: 20.14 kB / 0.7637 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003707/0.4486, allocations: 148.2 kB / 0.7639 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.4486, allocations: 2.656 kB / 0.7639 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.4503, allocations: 3.086 MB / 0.7669 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4503, allocations: 0 / 0.7669 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006661/0.451, allocations: 428.5 kB / 0.7673 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/0.4511, allocations: 37.92 kB / 0.7673 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4511, allocations: 0.5625 kB / 0.7673 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.4512, allocations: 24.25 kB / 0.7674 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.558e-05/0.4513, allocations: 18.92 kB / 0.7674 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.4513, allocations: 6.641 kB / 0.7674 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001252/0.4514, allocations: 160.5 kB / 0.7675 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4514, allocations: 0 / 0.7675 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003608/0.4518, allocations: 75.64 kB / 0.7676 GB, free: 3.812 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.0008367/0.4526, allocations: 0.9683 MB / 0.7686 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005978/0.4532, allocations: 439.8 kB / 0.769 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4532, allocations: 1.281 kB / 0.769 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.4535, allocations: 351.4 kB / 0.7693 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.4538, allocations: 59.5 kB / 0.7694 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.4569, allocations: 2.521 MB / 0.7718 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.457, allocations: 120.2 kB / 0.7719 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.4571, allocations: 40.41 kB / 0.772 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.4572, allocations: 58.3 kB / 0.772 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of SimCode: time 1.172e-06/0.4572, allocations: 0 / 0.772 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.4883, allocations: 8.156 MB / 0.78 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.509, allocations: 21.75 kB / 0.78 GB, free: 15.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.28844697214663] Failed to read output from testmodel.py, exit status != 0: 8.601493067108095 8.612848683 8.173145403 Calling exit ...