Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.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.001718/0.001718, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.002355/0.002355, allocations: 211.5 kB / 23.04 MB, free: 4.883 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.758 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.9701/0.9701, allocations: 150 MB / 463.2 MB, free: 10.21 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.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",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.00203/0.00203, allocations: 68.05 kB / 0.6413 GB, free: 9.777 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1773, allocations: 89.17 MB / 0.7284 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001884/0.1792, allocations: 0.6451 MB / 0.729 GB, free: 48 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1803, allocations: 0.8432 MB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.1803, allocations: 0 / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.1803, allocations: 3.938 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.1804, allocations: 7.938 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.1806, allocations: 7.984 kB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.161e-05/0.1806, allocations: 23.94 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.1807, allocations: 7.984 kB / 0.7299 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.1808, allocations: 8 kB / 0.7299 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.623e-05/0.1808, allocations: 19.91 kB / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1809, allocations: 4 kB / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.848e-05/0.1809, allocations: 4 kB / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.1809, allocations: 4 kB / 0.7299 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.1809, allocations: 3.938 kB / 0.7299 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.475e-05/0.181, allocations: 32.17 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.181, allocations: 0 / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.181, allocations: 3.938 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.181, allocations: 0 / 0.73 GB, free: 15.06 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.0004026/0.1814, allocations: 266.3 kB / 0.7302 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1815, allocations: 8.031 kB / 0.7302 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.728e-05/0.1815, allocations: 46.62 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.1816, allocations: 0.9375 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.1817, allocations: 110.5 kB / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1817, allocations: 384 / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.1817, allocations: 384 / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1819, allocations: 50.23 kB / 0.7304 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1819, allocations: 3.938 kB / 0.7304 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.1819, allocations: 7.984 kB / 0.7305 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1819, allocations: 4 kB / 0.7305 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.1821, allocations: 31.95 kB / 0.7305 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.1824, allocations: 216 kB / 0.7307 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.1825, allocations: 42.53 kB / 0.7307 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.1826, allocations: 24.91 kB / 0.7308 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1826, allocations: 0 / 0.7308 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1826, allocations: 34.56 kB / 0.7308 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1826, allocations: 0 / 0.7308 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003428/0.183, allocations: 85.58 kB / 0.7309 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.183, allocations: 51.41 kB / 0.7309 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.1831, allocations: 101.8 kB / 0.731 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1831, allocations: 25.7 kB / 0.731 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.1832, allocations: 84.14 kB / 0.7311 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.1832, allocations: 12.02 kB / 0.7311 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.1832, allocations: 13.72 kB / 0.7311 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1833, allocations: 318.8 kB / 0.7315 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.1834, allocations: 15.98 kB / 0.7315 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.1835, allocations: 15.98 kB / 0.7315 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1837, allocations: 36.83 kB / 0.7315 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1837, allocations: 3.938 kB / 0.7315 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.1839, allocations: 69.66 kB / 0.7316 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1839, allocations: 8 kB / 0.7316 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1839, allocations: 0 / 0.7316 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1839, allocations: 3.938 kB / 0.7316 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.184, allocations: 7.984 kB / 0.7316 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.184, allocations: 4 kB / 0.7316 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.184, allocations: 7.984 kB / 0.7316 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.184, allocations: 4.031 kB / 0.7316 GB, free: 13.18 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 7.451e-05/0.1841, allocations: 113.8 kB / 0.7317 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.1841, allocations: 7.953 kB / 0.7317 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.1844, allocations: 68.91 kB / 0.7318 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1844, allocations: 0 / 0.7318 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1844, allocations: 0 / 0.7318 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1844, allocations: 0 / 0.7318 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1845, allocations: 136.6 kB / 0.7319 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1845, allocations: 32 / 0.7319 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.865e-05/0.1846, allocations: 11.98 kB / 0.7319 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1846, allocations: 0 / 0.7319 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1846, allocations: 0 / 0.7319 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.1846, allocations: 8 kB / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1846, allocations: 0 / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.1848, allocations: 163.5 kB / 0.7321 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-06/0.1849, allocations: 0 / 0.7321 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.1849, allocations: 0 / 0.7321 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.1849, allocations: 12.02 kB / 0.7321 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.185, allocations: 7.938 kB / 0.7321 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.185, allocations: 0 / 0.7321 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.185, allocations: 87.27 kB / 0.7322 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.185, allocations: 0 / 0.7322 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002305/0.1853, allocations: 4 kB / 0.7322 GB, free: 12.5 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.000599/0.1859, allocations: 0.6968 MB / 0.7329 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.1861, allocations: 35.91 kB / 0.7329 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1861, allocations: 0 / 0.7329 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.1862, allocations: 23.97 kB / 0.733 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1865, allocations: 4 kB / 0.733 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.187, allocations: 142.5 kB / 0.7331 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6e-05/0.187, allocations: 63.47 kB / 0.7332 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.187, allocations: 7.938 kB / 0.7332 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.1871, allocations: 11.77 kB / 0.7332 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1871, allocations: 0 / 0.7332 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.2132, allocations: 1.801 MB / 0.7349 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.09, allocations: 16.02 kB / 0.7349 GB, free: 9.762 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.896244728006423] Failed to read output from testmodel.py, exit status != 0: 11.19560562283732 11.211651939 11.027506642 Calling exit ...