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.001784/0.001784, allocations: 104.3 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.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.002102/0.002102, allocations: 212 kB / 19.43 MB, free: 3.637 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.545/1.545, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.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.00249/0.00249, allocations: 297.5 kB / 309.1 MB, free: 3.957 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.252/1.252, allocations: 180.9 MB / 0.5333 GB, free: 13.72 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.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.004663/0.004663, allocations: 103.1 kB / 0.7342 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1804, allocations: 95.35 MB / 0.8274 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00325/0.1837, allocations: 1.939 MB / 0.8292 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6223/0.806, allocations: 158.8 MB / 0.9843 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.8061, allocations: 2.75 kB / 0.9843 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.8063, allocations: 29.83 kB / 0.9843 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.8067, allocations: 79.84 kB / 0.9844 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008507/0.8075, allocations: 263.1 kB / 0.9846 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.8079, allocations: 269.8 kB / 0.9849 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.808, allocations: 45.47 kB / 0.9849 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.8095, allocations: 255 kB / 0.9852 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.8096, allocations: 94.94 kB / 0.9853 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.8097, allocations: 15.28 kB / 0.9853 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.81, allocations: 193.2 kB / 0.9855 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.8101, allocations: 45.72 kB / 0.9855 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.8102, allocations: 92.03 kB / 0.9856 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.8107, allocations: 292.6 kB / 0.9859 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.8107, allocations: 0.9375 kB / 0.9859 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8107, allocations: 0 / 0.9859 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8107, allocations: 1.812 kB / 0.9859 GB, free: 3.309 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.001153/0.8119, allocations: 0.5413 MB / 0.9864 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.8119, allocations: 12.81 kB / 0.9864 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.969e-05/0.812, allocations: 51.73 kB / 0.9865 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.8132, allocations: 109 kB / 0.9866 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.8134, allocations: 227.3 kB / 0.9868 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.8135, allocations: 41.41 kB / 0.9868 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.8136, allocations: 22.41 kB / 0.9869 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.8141, allocations: 255.8 kB / 0.9871 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.8141, allocations: 3.188 kB / 0.9871 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.8141, allocations: 12.44 kB / 0.9871 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.8141, allocations: 2.938 kB / 0.9871 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.8146, allocations: 166.8 kB / 0.9873 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.8162, allocations: 1.182 MB / 0.9884 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/0.817, allocations: 197.7 kB / 0.9886 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.8171, allocations: 65.47 kB / 0.9887 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.8171, allocations: 0.9688 kB / 0.9887 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.8172, allocations: 38.11 kB / 0.9887 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/0.8172, allocations: 0.8438 kB / 0.9887 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.002771/0.8199, allocations: 0.6296 MB / 0.9893 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.82, allocations: 52.02 kB / 0.9894 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.8202, allocations: 214.6 kB / 0.9896 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.8203, allocations: 28.95 kB / 0.9896 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.8204, allocations: 141.3 kB / 0.9898 GB, free: 17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.8204, allocations: 49.12 kB / 0.9898 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.8205, allocations: 43.55 kB / 0.9898 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.8206, allocations: 334.5 kB / 0.9902 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.8208, allocations: 70.38 kB / 0.9902 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.8211, allocations: 140.5 kB / 0.9904 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.8215, allocations: 199.9 kB / 0.9906 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.8215, allocations: 0 / 0.9906 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001483/0.823, allocations: 379 kB / 0.9909 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.823, allocations: 5.719 kB / 0.9909 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.823, allocations: 4.703 kB / 0.9909 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.8241, allocations: 161.5 kB / 0.9911 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.8243, allocations: 40.3 kB / 0.9911 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004047/0.8283, allocations: 3.25 MB / 0.9943 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.8287, allocations: 35.66 kB / 0.9943 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.8287, allocations: 8.828 kB / 0.9943 GB, free: 13.64 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.0001448/0.8289, allocations: 134.2 kB / 0.9945 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.8289, allocations: 15.31 kB / 0.9945 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.8303, allocations: 380.8 kB / 0.9948 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.8303, allocations: 2.125 kB / 0.9948 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.8303, allocations: 1.531 kB / 0.9948 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.8303, allocations: 4.047 kB / 0.9948 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.8306, allocations: 268.4 kB / 0.9951 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8306, allocations: 3.938 kB / 0.9951 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.8308, allocations: 24.09 kB / 0.9951 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008425/0.8316, allocations: 142.5 kB / 0.9953 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.8316, allocations: 3.609 kB / 0.9953 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003824/0.8355, allocations: 3.303 MB / 0.9985 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8355, allocations: 4.641 kB / 0.9985 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.8368, allocations: 430.3 kB / 0.9989 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.8369, allocations: 115.1 kB / 0.999 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.8369, allocations: 10.44 kB / 0.999 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.8372, allocations: 20.08 kB / 0.999 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.8373, allocations: 19.38 kB / 0.9991 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.8373, allocations: 5.172 kB / 0.9991 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001997/0.8375, allocations: 161.9 kB / 0.9992 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8375, allocations: 0 / 0.9992 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000453/0.838, allocations: 72.78 kB / 0.9993 GB, free: 10.11 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.001755/0.8397, allocations: 0.9808 MB / 1 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.8408, allocations: 440 kB / 1.001 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8408, allocations: 1 kB / 1.001 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007189/0.8415, allocations: 358.1 kB / 1.001 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.842, allocations: 63.84 kB / 1.001 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/0.8477, allocations: 2.514 MB / 1.004 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.8481, allocations: 0.7342 MB / 1.004 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000196/0.8483, allocations: 41.72 kB / 1.004 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.8484, allocations: 55.45 kB / 1.004 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of SimCode: time 9.31e-07/0.8484, allocations: 1.156 kB / 1.004 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.8856, allocations: 7.369 MB / 1.012 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.09, allocations: 12.06 kB / 1.012 GB, free: 6.262 MB / 0.7325 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 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.52240932593122] Failed to read output from testmodel.py, exit status != 0: 13.193620611913502 13.206093696 12.393008869 Calling exit ...