Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 106.5 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 192.6 kB / 19.41 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 247.8 MB, free: 3.711 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002321/0.002321, allocations: 286.9 kB / 303 MB, free: 3.652 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.048/1.048, allocations: 180.9 MB / 0.5261 GB, free: 2.746 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 104.2 kB / 0.7248 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5505/0.5533, allocations: 94.15 MB / 0.8167 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00298/0.5563, allocations: 1.688 MB / 0.8184 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1881/0.7444, allocations: 150.1 MB / 0.965 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.7446, allocations: 4 kB / 0.965 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.7449, allocations: 31.73 kB / 0.965 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.7453, allocations: 51.62 kB / 0.9651 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.746, allocations: 187.3 kB / 0.9652 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.7464, allocations: 163.5 kB / 0.9654 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.7465, allocations: 21.11 kB / 0.9654 GB, free: 8.352 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.748, allocations: 197.2 kB / 0.9656 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.7481, allocations: 63.75 kB / 0.9657 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.7482, allocations: 8 kB / 0.9657 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003424/0.7485, allocations: 163.7 kB / 0.9658 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.7486, allocations: 27.91 kB / 0.9658 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.7487, allocations: 51.72 kB / 0.9659 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.7491, allocations: 206.1 kB / 0.9661 GB, free: 7.676 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.7491, allocations: 0 / 0.9661 GB, free: 7.676 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7491, allocations: 4 kB / 0.9661 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.7491, allocations: 0 / 0.9661 GB, free: 7.672 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001036/0.7501, allocations: 478.5 kB / 0.9666 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/0.7502, allocations: 8.031 kB / 0.9666 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.7502, allocations: 42.73 kB / 0.9666 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006908/0.7509, allocations: 64.47 kB / 0.9667 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.7512, allocations: 201.6 kB / 0.9669 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.7512, allocations: 4 kB / 0.9669 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.7513, allocations: 8 kB / 0.9669 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.7517, allocations: 188.3 kB / 0.967 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.7518, allocations: 7.938 kB / 0.9671 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.7518, allocations: 8 kB / 0.9671 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.7518, allocations: 0 / 0.9671 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.7523, allocations: 147.7 kB / 0.9672 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.7535, allocations: 0.8213 MB / 0.968 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.7539, allocations: 126.4 kB / 0.9681 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.7542, allocations: 76.8 kB / 0.9682 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.7542, allocations: 0 / 0.9682 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.7542, allocations: 30.72 kB / 0.9682 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.7542, allocations: 0 / 0.9682 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of matching and sorting (n=8): time 0.001918/0.7562, allocations: 467.1 kB / 0.9687 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.7562, allocations: 59.34 kB / 0.9687 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.7564, allocations: 156.5 kB / 0.9689 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.7564, allocations: 25.7 kB / 0.9689 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.7565, allocations: 108.3 kB / 0.969 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.7565, allocations: 27.75 kB / 0.969 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.466e-05/0.7566, allocations: 33.69 kB / 0.9691 GB, free: 4.352 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.7567, allocations: 318.8 kB / 0.9694 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.757, allocations: 75.92 kB / 0.9694 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.7572, allocations: 104.2 kB / 0.9695 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.7577, allocations: 180.1 kB / 0.9697 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.7577, allocations: 0 / 0.9697 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001024/0.7587, allocations: 286.1 kB / 0.97 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.7588, allocations: 7.938 kB / 0.97 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.7588, allocations: 4 kB / 0.97 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005861/0.7594, allocations: 80.89 kB / 0.9701 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.7596, allocations: 43.88 kB / 0.9701 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.7618, allocations: 1.65 MB / 0.9717 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.7621, allocations: 19.98 kB / 0.9717 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.7621, allocations: 11.92 kB / 0.9718 GB, free: 1.395 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.7622, allocations: 125.8 kB / 0.9719 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.7622, allocations: 11.91 kB / 0.9719 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.7633, allocations: 314.8 kB / 0.9722 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.7633, allocations: 4 kB / 0.9722 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.7633, allocations: 0 / 0.9722 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.7633, allocations: 0 / 0.9722 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.7636, allocations: 241.5 kB / 0.9724 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7636, allocations: 192 / 0.9724 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.7638, allocations: 31.95 kB / 0.9725 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004212/0.7642, allocations: 76.77 kB / 0.9725 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.7642, allocations: 11.94 kB / 0.9725 GB, free: 0.5273 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.7662, allocations: 1.674 MB / 0.9742 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7662, allocations: 3.938 kB / 0.9742 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.7672, allocations: 384.1 kB / 0.9745 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.7674, allocations: 101 kB / 0.9746 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.7674, allocations: 3.984 kB / 0.9746 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.7676, allocations: 19.92 kB / 0.9747 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.7677, allocations: 19.92 kB / 0.9747 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.7677, allocations: 11.92 kB / 0.9747 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.043e-05/0.7678, allocations: 106.7 kB / 0.9748 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7678, allocations: 0 / 0.9748 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003337/0.7681, allocations: 55.89 kB / 0.9748 GB, free: 13.98 MB / 0.7169 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/0.7695, allocations: 0.9222 MB / 0.9757 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008711/0.7704, allocations: 310.4 kB / 0.976 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7704, allocations: 256 / 0.976 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.7709, allocations: 218.6 kB / 0.9763 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.7712, allocations: 32.47 kB / 0.9763 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.7751, allocations: 2.061 MB / 0.9783 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.7754, allocations: 0.7124 MB / 0.979 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.7756, allocations: 25 kB / 0.979 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.7757, allocations: 35.42 kB / 0.9791 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.7757, allocations: 4 kB / 0.9791 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.8077, allocations: 4.772 MB / 0.9837 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.44, allocations: 10.67 kB / 0.9837 GB, free: 4.922 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.31008929712698] Failed to read output from testmodel.py, exit status != 0: 12.536270609125495 12.558658001 11.80524345 Calling exit ...