Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001272/0.001272, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001601/0.001601, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002631/0.002631, allocations: 284.7 kB / 312.7 MB, free: 2.793 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.223/1.223, allocations: 180.6 MB / 0.5369 GB, free: 13.07 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002894, allocations: 106.7 kB / 0.7396 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1768, allocations: 95.39 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003942/0.1807, allocations: 1.957 MB / 0.8346 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6168/0.7975, allocations: 158.9 MB / 0.9898 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.7977, allocations: 6.312 kB / 0.9898 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.7979, allocations: 27.3 kB / 0.9898 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.7982, allocations: 76.14 kB / 0.9899 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008766/0.7991, allocations: 262.5 kB / 0.9901 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.7995, allocations: 269.9 kB / 0.9904 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.7997, allocations: 48.02 kB / 0.9904 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.8013, allocations: 258.3 kB / 0.9907 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.8015, allocations: 93.02 kB / 0.9908 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.8015, allocations: 15.09 kB / 0.9908 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.802, allocations: 199.7 kB / 0.991 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.155e-05/0.8021, allocations: 45.39 kB / 0.991 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.8022, allocations: 92.02 kB / 0.9911 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.8028, allocations: 295.2 kB / 0.9914 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8028, allocations: 0 / 0.9914 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8028, allocations: 1.203 kB / 0.9914 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.8028, allocations: 0.9688 kB / 0.9914 GB, free: 3.469 MB / 0.7169 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.001167/0.8039, allocations: 473.1 kB / 0.9918 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.804, allocations: 14.31 kB / 0.9918 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.079e-05/0.804, allocations: 48.48 kB / 0.9919 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.8052, allocations: 115.8 kB / 0.992 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.8055, allocations: 169.8 kB / 0.9922 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-05/0.8056, allocations: 66.12 kB / 0.9922 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.8057, allocations: 16.09 kB / 0.9922 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.8062, allocations: 267.8 kB / 0.9925 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.8062, allocations: 4.109 kB / 0.9925 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.8062, allocations: 6.875 kB / 0.9925 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.8062, allocations: 6.375 kB / 0.9925 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.8066, allocations: 166.8 kB / 0.9927 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.8083, allocations: 1.145 MB / 0.9938 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.809, allocations: 197.4 kB / 0.994 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.8092, allocations: 66.36 kB / 0.994 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.8092, allocations: 4.094 kB / 0.9941 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.8092, allocations: 35.36 kB / 0.9941 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.8092, allocations: 4.25 kB / 0.9941 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.00258/0.8118, allocations: 489.3 kB / 0.9946 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.8118, allocations: 51.97 kB / 0.9946 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.8121, allocations: 219 kB / 0.9948 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.8121, allocations: 27.75 kB / 0.9948 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.616e-05/0.8122, allocations: 140.3 kB / 0.995 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.8123, allocations: 48.67 kB / 0.995 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.8124, allocations: 43.69 kB / 0.9951 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8125, allocations: 329.9 kB / 0.9954 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.8127, allocations: 72.92 kB / 0.9954 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.8129, allocations: 137.3 kB / 0.9956 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.8133, allocations: 195.7 kB / 0.9958 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8133, allocations: 0 / 0.9958 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001416/0.8147, allocations: 381 kB / 0.9961 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.8147, allocations: 7.031 kB / 0.9961 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.8148, allocations: 2.625 kB / 0.9961 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.8158, allocations: 160.8 kB / 0.9963 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.816, allocations: 43.47 kB / 0.9963 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00421/0.8203, allocations: 3.046 MB / 0.9993 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.8207, allocations: 36.22 kB / 0.9993 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.8207, allocations: 9 kB / 0.9993 GB, free: 14.41 MB / 0.7325 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.0001978/0.8209, allocations: 137.7 kB / 0.9995 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.821, allocations: 16.31 kB / 0.9995 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.8223, allocations: 372.5 kB / 0.9999 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.8223, allocations: 3.25 kB / 0.9999 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.8223, allocations: 0.7812 kB / 0.9999 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8223, allocations: 1.969 kB / 0.9999 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.8226, allocations: 258 kB / 1 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8226, allocations: 0 / 1 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.8228, allocations: 21.58 kB / 1 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008037/0.8236, allocations: 141.7 kB / 1 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.8236, allocations: 2.344 kB / 1 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003866/0.8275, allocations: 3.097 MB / 1.003 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8275, allocations: 5.375 kB / 1.003 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.8288, allocations: 433.1 kB / 1.004 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.8289, allocations: 40.77 kB / 1.004 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.8289, allocations: 7.859 kB / 1.004 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.8292, allocations: 15.98 kB / 1.004 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.8293, allocations: 15.94 kB / 1.004 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.8293, allocations: 10.84 kB / 1.004 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002314/0.8295, allocations: 157.7 kB / 1.004 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8295, allocations: 0 / 1.004 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000495/0.83, allocations: 70.41 kB / 1.004 GB, free: 11.27 MB / 0.7325 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.001791/0.8318, allocations: 0.9817 MB / 1.005 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.8329, allocations: 436.7 kB / 1.005 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8329, allocations: 2.562 kB / 1.005 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007229/0.8336, allocations: 351.1 kB / 1.006 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.8341, allocations: 66.62 kB / 1.006 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.8399, allocations: 2.525 MB / 1.008 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.8404, allocations: 0.7358 MB / 1.009 GB, free: 8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.8406, allocations: 33.91 kB / 1.009 GB, free: 8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.8407, allocations: 58.11 kB / 1.009 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.8407, allocations: 0 / 1.009 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04236/0.8831, allocations: 7.562 MB / 1.016 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.73, allocations: 6.969 kB / 1.016 GB, free: 7.391 MB / 0.7325 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.938955683959648] Failed to read output from testmodel.py, exit status != 0: 13.851360701955855 13.873634965 13.066793779 Calling exit ...