Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.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.001435/0.001435, allocations: 111.2 kB / 17.08 MB, free: 6.004 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.001792/0.001792, allocations: 190.8 kB / 20.02 MB, free: 3.074 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.544/1.544, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.126/1.126, allocations: 147.6 MB / 445.6 MB, free: 8.363 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2841/0.2841, allocations: 61.62 kB / 0.611 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.4582, allocations: 83.15 MB / 0.6922 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001799/0.46, allocations: 0.6428 MB / 0.6928 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009924/0.461, allocations: 0.8042 MB / 0.6936 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.4611, allocations: 5.219 kB / 0.6936 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.4611, allocations: 3.938 kB / 0.6936 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.784e-05/0.4612, allocations: 9.094 kB / 0.6936 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.4613, allocations: 9.016 kB / 0.6936 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.852e-05/0.4614, allocations: 26.3 kB / 0.6936 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.321e-05/0.4615, allocations: 6.609 kB / 0.6936 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.314e-05/0.4615, allocations: 12.25 kB / 0.6936 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.4616, allocations: 10.27 kB / 0.6937 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.4616, allocations: 5.562 kB / 0.6937 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-06/0.4616, allocations: 2.062 kB / 0.6937 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.4616, allocations: 1.281 kB / 0.6937 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.4617, allocations: 14.41 kB / 0.6937 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 7.385e-05/0.4617, allocations: 23.91 kB / 0.6937 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4617, allocations: 1.312 kB / 0.6937 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4618, allocations: 0 / 0.6937 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.4618, allocations: 0 / 0.6937 GB, free: 12.21 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004939/0.4623, allocations: 332.3 kB / 0.694 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.4623, allocations: 9.562 kB / 0.694 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.4624, allocations: 30.75 kB / 0.6941 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.4624, allocations: 10.05 kB / 0.6941 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.4625, allocations: 174.4 kB / 0.6942 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.4625, allocations: 4.312 kB / 0.6942 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-06/0.4626, allocations: 1.469 kB / 0.6942 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.4627, allocations: 50.45 kB / 0.6943 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4628, allocations: 3.938 kB / 0.6943 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-06/0.4628, allocations: 0 / 0.6943 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4628, allocations: 5.141 kB / 0.6943 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.4629, allocations: 38.2 kB / 0.6943 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.4634, allocations: 240.5 kB / 0.6946 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.4636, allocations: 46.94 kB / 0.6946 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.4637, allocations: 23.14 kB / 0.6946 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.4637, allocations: 1.188 kB / 0.6946 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.4638, allocations: 38.56 kB / 0.6947 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.4638, allocations: 0.9688 kB / 0.6947 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004518/0.4642, allocations: 83.72 kB / 0.6947 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.4643, allocations: 52.44 kB / 0.6948 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.4644, allocations: 98.95 kB / 0.6949 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.4644, allocations: 29.83 kB / 0.6949 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.4645, allocations: 85.44 kB / 0.695 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.4645, allocations: 9.141 kB / 0.695 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.4646, allocations: 12.41 kB / 0.695 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4647, allocations: 312.2 kB / 0.6953 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.725e-05/0.4648, allocations: 16.92 kB / 0.6953 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.498e-05/0.4649, allocations: 20.56 kB / 0.6954 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.465, allocations: 40.64 kB / 0.6954 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.465, allocations: 3.938 kB / 0.6954 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002014/0.4653, allocations: 72.66 kB / 0.6955 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4653, allocations: 4.812 kB / 0.6955 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4653, allocations: 0 / 0.6955 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4653, allocations: 5.969 kB / 0.6955 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4654, allocations: 12.45 kB / 0.6955 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.4654, allocations: 1.406 kB / 0.6955 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.4655, allocations: 2.844 kB / 0.6955 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.4655, allocations: 0.875 kB / 0.6955 GB, free: 10.35 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.252e-05/0.4656, allocations: 111.5 kB / 0.6956 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.4656, allocations: 5.391 kB / 0.6956 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.4659, allocations: 73.75 kB / 0.6957 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4659, allocations: 5.062 kB / 0.6957 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4659, allocations: 3.938 kB / 0.6957 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4659, allocations: 1.125 kB / 0.6957 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.4661, allocations: 157.8 kB / 0.6958 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4661, allocations: 0 / 0.6958 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.4662, allocations: 10.2 kB / 0.6958 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4662, allocations: 1.219 kB / 0.6958 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.4662, allocations: 0 / 0.6958 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4662, allocations: 4.031 kB / 0.6958 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4662, allocations: 1.25 kB / 0.6958 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.4665, allocations: 166.1 kB / 0.696 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.4665, allocations: 78.58 kB / 0.6961 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.4665, allocations: 5.078 kB / 0.6961 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.638e-05/0.4666, allocations: 7.688 kB / 0.6961 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.4667, allocations: 1.469 kB / 0.6961 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.4667, allocations: 0 / 0.6961 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.4667, allocations: 86.64 kB / 0.6962 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.275e-06/0.4667, allocations: 0 / 0.6962 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002114/0.467, allocations: 8.312 kB / 0.6962 GB, free: 9.613 MB / 0.5137 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00065/0.4676, allocations: 0.6935 MB / 0.6969 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.4678, allocations: 37.67 kB / 0.6969 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4678, allocations: 0 / 0.6969 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.474e-05/0.4679, allocations: 20.48 kB / 0.6969 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.4682, allocations: 9.938 kB / 0.6969 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.4687, allocations: 138.8 kB / 0.6971 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.469, allocations: 0.6771 MB / 0.6977 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.177e-05/0.469, allocations: 1.344 kB / 0.6977 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.4691, allocations: 12.75 kB / 0.6977 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.4691, allocations: 0 / 0.6977 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.4899, allocations: 1.271 MB / 0.699 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/8.32, allocations: 12.22 kB / 0.699 GB, free: 7.289 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Acos.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.130695539992303] Failed to read output from testmodel.py, exit status != 0: 8.384508260060102 8.400548387 7.935463471 Calling exit ...