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.001268/0.001268, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.001055/0.001055, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9032/0.9032, 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 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.7156/0.7156, 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 2.134e-06/2.134e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.264e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003413/0.003436, allocations: 1.865 MB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4232/0.4266, allocations: 136.7 MB / 0.7534 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.4268, allocations: 5.312 kB / 0.7534 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.427, allocations: 35.2 kB / 0.7535 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.4273, allocations: 77.12 kB / 0.7535 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.428, allocations: 272.3 kB / 0.7538 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.4283, allocations: 275.2 kB / 0.7541 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.4285, allocations: 41.83 kB / 0.7541 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.4297, allocations: 302.5 kB / 0.7544 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.4298, allocations: 69.78 kB / 0.7544 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.4298, allocations: 14.28 kB / 0.7545 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/0.4302, allocations: 189 kB / 0.7546 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.4303, allocations: 45.19 kB / 0.7547 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.4304, allocations: 69.38 kB / 0.7547 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004761/0.4308, allocations: 316 kB / 0.755 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4308, allocations: 0 / 0.755 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4308, allocations: 0 / 0.755 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4308, allocations: 1.344 kB / 0.7551 GB, free: 13.68 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.0007013/0.4315, allocations: 474.8 kB / 0.7555 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4316, allocations: 9.469 kB / 0.7555 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.4316, allocations: 51.8 kB / 0.7556 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006488/0.4323, allocations: 109.8 kB / 0.7557 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.4325, allocations: 170.6 kB / 0.7558 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/0.4326, allocations: 67.03 kB / 0.7559 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.4326, allocations: 23.12 kB / 0.7559 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.433, allocations: 315.8 kB / 0.7562 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.433, allocations: 0 / 0.7562 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.4331, allocations: 10.62 kB / 0.7562 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.4331, allocations: 4.062 kB / 0.7562 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.4333, allocations: 169 kB / 0.7564 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009999/0.4343, allocations: 1.119 MB / 0.7575 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.4348, allocations: 206.1 kB / 0.7577 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.4349, allocations: 63.02 kB / 0.7577 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.435, allocations: 2.203 kB / 0.7577 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.435, allocations: 36.88 kB / 0.7578 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.224e-06/0.435, allocations: 4 kB / 0.7578 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.001417/0.4364, allocations: 491.9 kB / 0.7583 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.4364, allocations: 54.41 kB / 0.7583 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.4366, allocations: 221.2 kB / 0.7585 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.4366, allocations: 25.7 kB / 0.7585 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.4367, allocations: 139.5 kB / 0.7587 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.4367, allocations: 39.31 kB / 0.7587 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.4368, allocations: 51.44 kB / 0.7588 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.496e-05/0.4368, allocations: 330.4 kB / 0.7591 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.4369, allocations: 70.86 kB / 0.7591 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.4371, allocations: 162.1 kB / 0.7593 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.4373, allocations: 199.2 kB / 0.7595 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4373, allocations: 0 / 0.7595 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007734/0.4381, allocations: 376.7 kB / 0.7598 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4381, allocations: 6.531 kB / 0.7599 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4381, allocations: 2.094 kB / 0.7599 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005522/0.4387, allocations: 167.6 kB / 0.76 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.4388, allocations: 42.42 kB / 0.7601 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.4413, allocations: 3.013 MB / 0.763 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.4415, allocations: 43.3 kB / 0.763 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.4416, allocations: 8.875 kB / 0.763 GB, free: 7.531 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.0001333/0.4417, allocations: 136.5 kB / 0.7632 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.4417, allocations: 16.16 kB / 0.7632 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007324/0.4425, allocations: 375.8 kB / 0.7635 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4425, allocations: 1.156 kB / 0.7636 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.4425, allocations: 1.062 kB / 0.7636 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4425, allocations: 1.172 kB / 0.7636 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.4427, allocations: 233.7 kB / 0.7638 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4427, allocations: 0.875 kB / 0.7638 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.017e-05/0.4428, allocations: 29.3 kB / 0.7638 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/0.4432, allocations: 144.9 kB / 0.7639 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4432, allocations: 1.922 kB / 0.7639 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.4449, allocations: 3.069 MB / 0.7669 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4449, allocations: 4.641 kB / 0.7669 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006489/0.4456, allocations: 428.5 kB / 0.7674 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.4457, allocations: 36.7 kB / 0.7674 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.4457, allocations: 6.422 kB / 0.7674 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.4458, allocations: 20.39 kB / 0.7674 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.4459, allocations: 16.67 kB / 0.7674 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.4459, allocations: 8.578 kB / 0.7674 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001164/0.446, allocations: 154.9 kB / 0.7676 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.446, allocations: 0 / 0.7676 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003486/0.4464, allocations: 74.45 kB / 0.7677 GB, free: 3.836 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.0008415/0.4472, allocations: 0.9697 MB / 0.7686 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006316/0.4478, allocations: 438.7 kB / 0.769 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4478, allocations: 0 / 0.769 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.4482, allocations: 362.8 kB / 0.7694 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.4485, allocations: 61.86 kB / 0.7694 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.4516, allocations: 2.52 MB / 0.7719 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.4517, allocations: 125.2 kB / 0.772 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.4519, allocations: 39.94 kB / 0.772 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/0.452, allocations: 57.2 kB / 0.7721 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/0.452, allocations: 0 / 0.7721 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.4775, allocations: 8.153 MB / 0.7801 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.511, allocations: 1.719 kB / 0.7801 GB, free: 15.27 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.203550095669925] Failed to read output from testmodel.py, exit status != 0: 8.604278814047575 8.619435305 8.185177633 Calling exit ...