Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.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.001664/0.001664, 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.002044/0.002044, 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.547/1.547, allocations: 230.6 MB / 257.6 MB, free: 7.977 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.9929/0.9929, allocations: 150 MB / 464 MB, free: 10.49 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.Integers.Validation.Min,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min",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.002045/0.002045, allocations: 73.88 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1758, allocations: 89.17 MB / 0.7291 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Min): time 0.002152/0.1779, allocations: 0.756 MB / 0.7299 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1792, allocations: 0.9055 MB / 0.7308 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.785e-05/0.1792, allocations: 0 / 0.7308 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.163e-05/0.1793, allocations: 7.875 kB / 0.7308 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.1794, allocations: 7.938 kB / 0.7308 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.1795, allocations: 43.83 kB / 0.7308 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.1797, allocations: 87.81 kB / 0.7309 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1798, allocations: 19.98 kB / 0.7309 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.1799, allocations: 35.86 kB / 0.7309 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.18, allocations: 59.81 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.18, allocations: 8 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.69e-05/0.1801, allocations: 8 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.1801, allocations: 15.92 kB / 0.731 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.1801, allocations: 39.83 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.1803, allocations: 87.89 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1803, allocations: 0 / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1803, allocations: 0 / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.1803, allocations: 0 / 0.7312 GB, free: 15.18 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000675/0.181, allocations: 326 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.181, allocations: 15.97 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.371e-05/0.181, allocations: 192 / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.1811, allocations: 42.73 kB / 0.7315 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.1811, allocations: 8.891 kB / 0.7315 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.1813, allocations: 114.5 kB / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1814, allocations: 8.375 kB / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.1814, allocations: 7.938 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.1817, allocations: 109.2 kB / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1817, allocations: 0 / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1818, allocations: 4 kB / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1818, allocations: 3.938 kB / 0.7318 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.1822, allocations: 99.89 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.1828, allocations: 315.7 kB / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007097/0.1835, allocations: 122.5 kB / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.1837, allocations: 48.81 kB / 0.7323 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.1837, allocations: 4 kB / 0.7323 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.1838, allocations: 34.56 kB / 0.7324 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1838, allocations: 0 / 0.7324 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.000784/0.1846, allocations: 189.4 kB / 0.7325 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1846, allocations: 59.34 kB / 0.7326 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.1848, allocations: 121.8 kB / 0.7327 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1848, allocations: 29.7 kB / 0.7327 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.1849, allocations: 88.09 kB / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.1849, allocations: 23.83 kB / 0.7329 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.185, allocations: 21.72 kB / 0.7329 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1851, allocations: 318.8 kB / 0.7332 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.1853, allocations: 47.95 kB / 0.7332 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.1855, allocations: 44.27 kB / 0.7333 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.1859, allocations: 104.9 kB / 0.7334 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1859, allocations: 0 / 0.7334 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000441/0.1863, allocations: 137.5 kB / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.1864, allocations: 8 kB / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1864, allocations: 0 / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1864, allocations: 0 / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.1866, allocations: 23.97 kB / 0.7335 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1866, allocations: 7.922 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.1867, allocations: 19.94 kB / 0.7336 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1867, allocations: 0 / 0.7336 GB, free: 12.54 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001018/0.1868, allocations: 117.8 kB / 0.7337 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.1869, allocations: 8 kB / 0.7337 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005193/0.1874, allocations: 161.9 kB / 0.7338 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1874, allocations: 0 / 0.7338 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1874, allocations: 7.875 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1874, allocations: 0 / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.1876, allocations: 172.6 kB / 0.734 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1876, allocations: 0 / 0.734 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.1878, allocations: 23.97 kB / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1878, allocations: 0 / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1878, allocations: 0 / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1878, allocations: 3.938 kB / 0.734 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1878, allocations: 7.938 kB / 0.734 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005603/0.1884, allocations: 243.3 kB / 0.7343 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.1884, allocations: 3.938 kB / 0.7343 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1884, allocations: 0 / 0.7343 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.1886, allocations: 19.97 kB / 0.7343 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.1886, allocations: 27.91 kB / 0.7343 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1887, allocations: 0 / 0.7343 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.853e-05/0.1887, allocations: 100.4 kB / 0.7344 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1887, allocations: 0 / 0.7344 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002459/0.189, allocations: 15.95 kB / 0.7344 GB, free: 11.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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0009455/0.1899, allocations: 0.7632 MB / 0.7352 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004848/0.1904, allocations: 111.8 kB / 0.7353 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1904, allocations: 4 kB / 0.7353 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.1906, allocations: 55.95 kB / 0.7353 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.191, allocations: 20.53 kB / 0.7354 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.1934, allocations: 1.533 MB / 0.7369 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.1938, allocations: 0.6924 MB / 0.7375 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.697e-05/0.1938, allocations: 15.98 kB / 0.7375 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.64e-05/0.1939, allocations: 27.42 kB / 0.7376 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.1939, allocations: 0 / 0.7376 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.2178, allocations: 2.877 MB / 0.7404 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.56, allocations: 9.141 kB / 0.7404 GB, free: 5.484 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.509220932028256] Failed to read output from testmodel.py, exit status != 0: 11.722078993043397 11.743709493 11.560131076 Calling exit ...