Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.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.0013/0.0013, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001481/0.001481, allocations: 208.7 kB / 23.77 MB, free: 4.559 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.797 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 0.998/0.998, allocations: 150 MB / 463.9 MB, free: 10.24 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.Tan,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Tan",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.001971/0.001971, allocations: 62.34 kB / 0.642 GB, free: 9.867 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1775, allocations: 89.19 MB / 0.7291 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001891/0.1794, allocations: 0.6413 MB / 0.7297 GB, free: 120 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1805, allocations: 0.8354 MB / 0.7305 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.1805, allocations: 0 / 0.7305 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.1806, allocations: 7.938 kB / 0.7305 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.904e-05/0.1806, allocations: 4 kB / 0.7305 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.1808, allocations: 15.92 kB / 0.7306 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.608e-05/0.1809, allocations: 23.91 kB / 0.7306 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.181, allocations: 15.94 kB / 0.7306 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.47e-05/0.1811, allocations: 4 kB / 0.7306 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.731e-05/0.1811, allocations: 11.92 kB / 0.7306 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.1811, allocations: 4 kB / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.584e-05/0.1812, allocations: 8 kB / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.1812, allocations: 0 / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.1812, allocations: 11.98 kB / 0.7306 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.697e-05/0.1813, allocations: 28.11 kB / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1813, allocations: 0 / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.787e-06/0.1813, allocations: 4 kB / 0.7307 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.1813, allocations: 0 / 0.7307 GB, free: 15.13 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.0004327/0.1817, allocations: 262.3 kB / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1818, allocations: 12.03 kB / 0.7309 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.203e-05/0.1818, allocations: 192 / 0.7309 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.1818, allocations: 30.75 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.1819, allocations: 4.938 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.182, allocations: 118.4 kB / 0.7311 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-06/0.182, allocations: 4.359 kB / 0.7311 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.182, allocations: 8.312 kB / 0.7311 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1822, allocations: 57.92 kB / 0.7311 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1822, allocations: 4 kB / 0.7311 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1822, allocations: 0 / 0.7311 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1822, allocations: 0 / 0.7311 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.1824, allocations: 31.97 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.1827, allocations: 216 kB / 0.7314 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1828, allocations: 38.5 kB / 0.7314 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.1829, allocations: 20.91 kB / 0.7314 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.1829, allocations: 0 / 0.7314 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.183, allocations: 42.55 kB / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.183, allocations: 0 / 0.7315 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003246/0.1833, allocations: 69.66 kB / 0.7315 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1833, allocations: 55.41 kB / 0.7316 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.1834, allocations: 101.8 kB / 0.7317 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1834, allocations: 29.64 kB / 0.7317 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.1835, allocations: 84.27 kB / 0.7318 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.1835, allocations: 15.89 kB / 0.7318 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.1835, allocations: 13.7 kB / 0.7318 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1837, allocations: 314.8 kB / 0.7321 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.1838, allocations: 19.98 kB / 0.7322 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/0.1838, allocations: 11.98 kB / 0.7322 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.184, allocations: 48.81 kB / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.184, allocations: 0 / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.1842, allocations: 65.67 kB / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1842, allocations: 6.344 kB / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1842, allocations: 0 / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1842, allocations: 3.984 kB / 0.7323 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/0.1843, allocations: 11.94 kB / 0.7323 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1843, allocations: 0 / 0.7323 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.1844, allocations: 12.02 kB / 0.7323 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1844, allocations: 0 / 0.7323 GB, free: 13.26 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.134e-05/0.1844, allocations: 113.8 kB / 0.7324 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.1845, allocations: 3.953 kB / 0.7324 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.1847, allocations: 68.97 kB / 0.7325 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1847, allocations: 4 kB / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1847, allocations: 7.922 kB / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1847, allocations: 0 / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.1849, allocations: 128.7 kB / 0.7326 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1849, allocations: 0 / 0.7326 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.1849, allocations: 15.92 kB / 0.7326 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1849, allocations: 0 / 0.7326 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.1849, allocations: 3.938 kB / 0.7326 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1849, allocations: 0 / 0.7326 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1849, allocations: 0 / 0.7326 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1852, allocations: 163.5 kB / 0.7328 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.1852, allocations: 4.031 kB / 0.7328 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1852, allocations: 4 kB / 0.7328 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.913e-05/0.1853, allocations: 7.984 kB / 0.7328 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.1853, allocations: 192 / 0.7328 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.1853, allocations: 3.984 kB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.1854, allocations: 83.27 kB / 0.7329 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1854, allocations: 0 / 0.7329 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002191/0.1856, allocations: 8 kB / 0.7329 GB, free: 12.57 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.000563/0.1861, allocations: 0.7045 MB / 0.7336 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.1864, allocations: 39.95 kB / 0.7336 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1864, allocations: 0 / 0.7336 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.1865, allocations: 15.98 kB / 0.7336 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.1867, allocations: 4 kB / 0.7336 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.1872, allocations: 154.6 kB / 0.7338 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.347e-05/0.1872, allocations: 59.34 kB / 0.7338 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.982e-05/0.1872, allocations: 0 / 0.7338 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.1873, allocations: 11.44 kB / 0.7339 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1873, allocations: 0 / 0.7339 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.2081, allocations: 1.456 MB / 0.7353 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.41, allocations: 6.688 kB / 0.7353 GB, free: 10.19 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Tan.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.270684454008006] Failed to read output from testmodel.py, exit status != 0: 11.574185043922625 11.603455961 11.416986805 Calling exit ...