Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001319/0.001319, allocations: 116.3 kB / 17.84 MB, free: 5.312 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.001355/0.001355, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.542/1.542, allocations: 230.6 MB / 254.2 MB, free: 15.06 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.9823/0.9823, allocations: 150 MB / 460.2 MB, free: 5.27 MB / 350.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.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",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.001974/0.001974, allocations: 72.36 kB / 0.6369 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1733, allocations: 89.13 MB / 0.7239 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002377/0.1757, allocations: 0.8795 MB / 0.7248 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1774, allocations: 1.2 MB / 0.7259 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.1775, allocations: 0 / 0.7259 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.144e-05/0.1776, allocations: 15.86 kB / 0.7259 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.881e-05/0.1777, allocations: 23.8 kB / 0.726 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.1782, allocations: 150 kB / 0.7261 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.1785, allocations: 171.6 kB / 0.7263 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1786, allocations: 29.05 kB / 0.7263 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1787, allocations: 63.83 kB / 0.7264 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1789, allocations: 71.72 kB / 0.7264 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.1789, allocations: 16 kB / 0.7264 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.179, allocations: 31.98 kB / 0.7265 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.998e-05/0.179, allocations: 19.92 kB / 0.7265 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.1791, allocations: 71.7 kB / 0.7266 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.1794, allocations: 171.6 kB / 0.7267 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1794, allocations: 0 / 0.7267 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1794, allocations: 0 / 0.7267 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1794, allocations: 0 / 0.7267 GB, free: 1.086 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007398/0.1801, allocations: 460.6 kB / 0.7272 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1801, allocations: 19.97 kB / 0.7272 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.684e-05/0.1802, allocations: 4.125 kB / 0.7272 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.1802, allocations: 38.75 kB / 0.7272 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.1803, allocations: 12.89 kB / 0.7272 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/0.1808, allocations: 252.2 kB / 0.7275 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1808, allocations: 8.375 kB / 0.7275 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.1809, allocations: 12.38 kB / 0.7275 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.1811, allocations: 103.5 kB / 0.7276 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1811, allocations: 0 / 0.7276 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1811, allocations: 0 / 0.7276 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1812, allocations: 0 / 0.7276 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.1813, allocations: 47.95 kB / 0.7276 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.1821, allocations: 396.5 kB / 0.728 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.1823, allocations: 34.56 kB / 0.7281 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1824, allocations: 32.94 kB / 0.7281 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1824, allocations: 0 / 0.7281 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003118/0.1827, allocations: 95.3 kB / 0.7282 GB, free: 15.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.1827, allocations: 0 / 0.7282 GB, free: 15.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004785/0.1832, allocations: 141.4 kB / 0.7283 GB, free: 15.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.1833, allocations: 59.34 kB / 0.7284 GB, free: 15.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1834, allocations: 144 kB / 0.7285 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1834, allocations: 25.7 kB / 0.7285 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.853e-05/0.1835, allocations: 116 kB / 0.7286 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1836, allocations: 31.88 kB / 0.7287 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/0.1837, allocations: 45.7 kB / 0.7287 GB, free: 14.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1838, allocations: 322.8 kB / 0.729 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.184, allocations: 47.95 kB / 0.7291 GB, free: 14.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.1842, allocations: 127.1 kB / 0.7292 GB, free: 14.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.1846, allocations: 209 kB / 0.7294 GB, free: 14.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1846, allocations: 0 / 0.7294 GB, free: 14.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005432/0.1851, allocations: 255.2 kB / 0.7296 GB, free: 13.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.1852, allocations: 33.7 kB / 0.7297 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.1852, allocations: 7.938 kB / 0.7297 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1852, allocations: 7.938 kB / 0.7297 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1853, allocations: 23.98 kB / 0.7297 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1853, allocations: 7.938 kB / 0.7297 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.1856, allocations: 43.84 kB / 0.7298 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.1856, allocations: 16.06 kB / 0.7298 GB, free: 13.63 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001264/0.1857, allocations: 125.8 kB / 0.7299 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.1857, allocations: 11.95 kB / 0.7299 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.1858, allocations: 8.719 kB / 0.7299 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1858, allocations: 7.938 kB / 0.7299 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1858, allocations: 0 / 0.7299 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1858, allocations: 3.938 kB / 0.7299 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.1864, allocations: 402.3 kB / 0.7303 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.1864, allocations: 3.938 kB / 0.7303 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.564e-05/0.1865, allocations: 15.98 kB / 0.7303 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1865, allocations: 0 / 0.7303 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1865, allocations: 0 / 0.7303 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1865, allocations: 0 / 0.7303 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1865, allocations: 0 / 0.7303 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/0.187, allocations: 247.3 kB / 0.7306 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.1871, allocations: 89 kB / 0.7306 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1871, allocations: 0 / 0.7306 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.694e-05/0.1872, allocations: 12.03 kB / 0.7307 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.1872, allocations: 11.92 kB / 0.7307 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1872, allocations: 4 kB / 0.7307 GB, free: 12.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.423e-05/0.1873, allocations: 103.3 kB / 0.7308 GB, free: 12.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1873, allocations: 4 kB / 0.7308 GB, free: 12.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003134/0.1876, allocations: 31.98 kB / 0.7308 GB, free: 12.47 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000891/0.1885, allocations: 0.7929 MB / 0.7316 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004337/0.189, allocations: 167.2 kB / 0.7317 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.189, allocations: 0 / 0.7317 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1891, allocations: 35.91 kB / 0.7318 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1894, allocations: 34.09 kB / 0.7318 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.1921, allocations: 1.964 MB / 0.7337 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.1925, allocations: 0.7084 MB / 0.7344 GB, free: 8.547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.166e-05/0.1926, allocations: 12.66 kB / 0.7344 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.1926, allocations: 35.42 kB / 0.7345 GB, free: 8.5 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.1926, allocations: 0 / 0.7345 GB, free: 8.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.2147, allocations: 3.221 MB / 0.7376 GB, free: 5.449 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.445/8.66, allocations: 14.22 kB / 0.7376 GB, free: 5.438 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.7097051590099] Failed to read output from testmodel.py, exit status != 0: 8.78794027195545 8.811464243 8.627610882 Calling exit ...