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.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.001715/0.001715, allocations: 105 kB / 20.48 MB, free: 1.488 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.002154/0.002154, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.498/1.498, allocations: 230.6 MB / 257.6 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.035/1.035, allocations: 150 MB / 464 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002089/0.002089, allocations: 65.58 kB / 0.6421 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1765, allocations: 89.17 MB / 0.7292 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001926/0.1784, allocations: 0.6577 MB / 0.7298 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1795, allocations: 0.851 MB / 0.7306 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.1796, allocations: 0 / 0.7306 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.1796, allocations: 3.938 kB / 0.7306 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.1797, allocations: 4 kB / 0.7306 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.1798, allocations: 19.91 kB / 0.7307 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.522e-05/0.1799, allocations: 19.98 kB / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.643e-05/0.18, allocations: 4 kB / 0.7307 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.982e-05/0.18, allocations: 19.86 kB / 0.7307 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.535e-05/0.1801, allocations: 8 kB / 0.7307 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1801, allocations: 0 / 0.7307 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.1801, allocations: 7.938 kB / 0.7307 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.1801, allocations: 11.92 kB / 0.7307 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.1802, allocations: 4 kB / 0.7307 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1803, allocations: 36.11 kB / 0.7308 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1803, allocations: 4 kB / 0.7308 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1803, allocations: 0 / 0.7308 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.1803, allocations: 0 / 0.7308 GB, free: 15.58 MB / 0.5606 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.0004331/0.1807, allocations: 258.3 kB / 0.731 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.1808, allocations: 12.03 kB / 0.731 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.244e-05/0.1808, allocations: 192 / 0.731 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.1808, allocations: 30.75 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.452e-05/0.1809, allocations: 8.922 kB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.181, allocations: 110.5 kB / 0.7312 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.181, allocations: 4.312 kB / 0.7312 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.181, allocations: 4.375 kB / 0.7312 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1812, allocations: 57.92 kB / 0.7312 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1812, allocations: 0 / 0.7312 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.1812, allocations: 0 / 0.7312 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1812, allocations: 3.984 kB / 0.7312 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.1814, allocations: 31.97 kB / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.1817, allocations: 228 kB / 0.7315 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1818, allocations: 34.5 kB / 0.7315 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.114e-05/0.1819, allocations: 24.91 kB / 0.7315 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.1819, allocations: 0 / 0.7315 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.182, allocations: 34.56 kB / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.182, allocations: 0 / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003415/0.1823, allocations: 81.64 kB / 0.7317 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.1823, allocations: 51.41 kB / 0.7317 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.1824, allocations: 105.8 kB / 0.7318 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1824, allocations: 25.7 kB / 0.7318 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.1825, allocations: 92.14 kB / 0.7319 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.1825, allocations: 3.953 kB / 0.7319 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1825, allocations: 17.72 kB / 0.7319 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1827, allocations: 314.8 kB / 0.7322 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.1828, allocations: 11.98 kB / 0.7323 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/0.1828, allocations: 19.98 kB / 0.7323 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.183, allocations: 44.81 kB / 0.7323 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.183, allocations: 0 / 0.7323 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001972/0.1832, allocations: 61.67 kB / 0.7324 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1832, allocations: 4 kB / 0.7324 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1832, allocations: 4 kB / 0.7324 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1832, allocations: 0 / 0.7324 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/0.1833, allocations: 19.89 kB / 0.7324 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1833, allocations: 0 / 0.7324 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.1834, allocations: 7.984 kB / 0.7324 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.1834, allocations: 0 / 0.7324 GB, free: 13.71 MB / 0.5606 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 8.455e-05/0.1834, allocations: 117.8 kB / 0.7325 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.1835, allocations: 3.953 kB / 0.7325 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.1837, allocations: 76.97 kB / 0.7326 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1837, allocations: 3.938 kB / 0.7326 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1837, allocations: 0 / 0.7326 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1837, allocations: 0 / 0.7326 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.1839, allocations: 132.7 kB / 0.7327 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1839, allocations: 0 / 0.7327 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.1839, allocations: 11.98 kB / 0.7327 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1839, allocations: 0 / 0.7327 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.184, allocations: 0 / 0.7327 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.184, allocations: 7.922 kB / 0.7327 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.184, allocations: 0 / 0.7327 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.1842, allocations: 163.5 kB / 0.7329 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.1842, allocations: 4 kB / 0.7329 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1842, allocations: 4 kB / 0.7329 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.1843, allocations: 7.984 kB / 0.7329 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.1843, allocations: 0 / 0.7329 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.1843, allocations: 4.031 kB / 0.7329 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.996e-05/0.1844, allocations: 79.28 kB / 0.733 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1844, allocations: 0 / 0.733 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002181/0.1846, allocations: 4 kB / 0.733 GB, free: 13.03 MB / 0.5606 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.0005912/0.1852, allocations: 0.7119 MB / 0.7337 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1854, allocations: 35.97 kB / 0.7337 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1854, allocations: 0 / 0.7337 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.1855, allocations: 15.98 kB / 0.7337 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.1858, allocations: 12.14 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.1863, allocations: 157.7 kB / 0.7339 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1866, allocations: 0.6768 MB / 0.7346 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.016e-05/0.1866, allocations: 0 / 0.7346 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.1866, allocations: 11.44 kB / 0.7346 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1867, allocations: 0 / 0.7346 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.2073, allocations: 1.412 MB / 0.736 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.23, allocations: 9.672 kB / 0.736 GB, free: 10.05 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.18028372200206] Failed to read output from testmodel.py, exit status != 0: 11.398284948954824 11.417647374 11.233054715 Calling exit ...