Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.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.001414/0.001414, allocations: 122 kB / 17.84 MB, free: 5.254 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.002446/0.002446, allocations: 199.8 kB / 20.79 MB, free: 2.316 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.564/1.564, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.044/1.044, allocations: 150 MB / 460.2 MB, free: 5.203 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.Logical.Validation.Latch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch",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.002012/0.002012, allocations: 62.34 kB / 0.6368 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1743, allocations: 89.14 MB / 0.7239 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002159/0.1765, allocations: 0.7482 MB / 0.7246 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1783, allocations: 1.293 MB / 0.7259 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.1784, allocations: 0 / 0.7259 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.537e-05/0.1784, allocations: 7.875 kB / 0.7259 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.038e-05/0.1785, allocations: 19.84 kB / 0.7259 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007372/0.1792, allocations: 252.1 kB / 0.7261 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.1796, allocations: 251.6 kB / 0.7264 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.1797, allocations: 45.09 kB / 0.7264 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.1798, allocations: 103.8 kB / 0.7265 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.18, allocations: 103.7 kB / 0.7266 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.1801, allocations: 24 kB / 0.7266 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-05/0.1802, allocations: 35.98 kB / 0.7267 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/0.1802, allocations: 35.91 kB / 0.7267 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1803, allocations: 99.66 kB / 0.7268 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.1806, allocations: 247.4 kB / 0.727 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1806, allocations: 0 / 0.727 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1806, allocations: 0 / 0.727 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1806, allocations: 0 / 0.727 GB, free: 0.7344 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007231/0.1814, allocations: 0.5021 MB / 0.7275 GB, free: 172 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1814, allocations: 12.03 kB / 0.7275 GB, free: 160 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.827e-05/0.1814, allocations: 192 / 0.7275 GB, free: 160 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.975e-05/0.1815, allocations: 46.73 kB / 0.7276 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.08e-05/0.1815, allocations: 24.84 kB / 0.7276 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.1822, allocations: 236.3 kB / 0.7278 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1822, allocations: 16.36 kB / 0.7278 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.1822, allocations: 20.38 kB / 0.7279 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.1825, allocations: 142.5 kB / 0.728 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1825, allocations: 0 / 0.728 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.1825, allocations: 4 kB / 0.728 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1825, allocations: 11.98 kB / 0.728 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1827, allocations: 71.89 kB / 0.7281 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.1833, allocations: 452.3 kB / 0.7285 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1835, allocations: 74.53 kB / 0.7286 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.81e-05/0.1836, allocations: 44.77 kB / 0.7286 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.1836, allocations: 3.938 kB / 0.7286 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.1838, allocations: 131.3 kB / 0.7287 GB, free: 14.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/0.1838, allocations: 0 / 0.7287 GB, free: 14.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0004775/0.1843, allocations: 239 kB / 0.729 GB, free: 14.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.1844, allocations: 59.34 kB / 0.729 GB, free: 14.47 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1845, allocations: 136.3 kB / 0.7292 GB, free: 14.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.1845, allocations: 37.7 kB / 0.7292 GB, free: 14.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/0.1846, allocations: 120.6 kB / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1847, allocations: 27.81 kB / 0.7293 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.1848, allocations: 69.67 kB / 0.7294 GB, free: 14.06 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1849, allocations: 322.8 kB / 0.7297 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.1851, allocations: 63.95 kB / 0.7298 GB, free: 13.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.1853, allocations: 130.9 kB / 0.7299 GB, free: 13.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.1856, allocations: 220.6 kB / 0.7301 GB, free: 13.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1856, allocations: 4 kB / 0.7301 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005267/0.1861, allocations: 316.6 kB / 0.7304 GB, free: 12.94 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.621e-05/0.1862, allocations: 71.39 kB / 0.7305 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.1862, allocations: 4.25 kB / 0.7305 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1862, allocations: 4 kB / 0.7305 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.032e-05/0.1862, allocations: 7.938 kB / 0.7305 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1862, allocations: 7.984 kB / 0.7305 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.1866, allocations: 55.84 kB / 0.7306 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.1866, allocations: 15.98 kB / 0.7306 GB, free: 12.76 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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.0001471/0.1868, allocations: 150.3 kB / 0.7307 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.1868, allocations: 7.953 kB / 0.7307 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.1868, allocations: 16.78 kB / 0.7307 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1868, allocations: 0 / 0.7307 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1868, allocations: 0 / 0.7307 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1868, allocations: 3.984 kB / 0.7307 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.1874, allocations: 486.3 kB / 0.7312 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1874, allocations: 4 kB / 0.7312 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.095e-05/0.1874, allocations: 4 kB / 0.7312 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1874, allocations: 3.984 kB / 0.7312 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1874, allocations: 4 kB / 0.7312 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1874, allocations: 0 / 0.7312 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1874, allocations: 0 / 0.7312 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.1878, allocations: 301.5 kB / 0.7315 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.1878, allocations: 89.05 kB / 0.7316 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.1878, allocations: 0 / 0.7316 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.807e-05/0.1879, allocations: 4 kB / 0.7316 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.1879, allocations: 19.97 kB / 0.7316 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.188, allocations: 8 kB / 0.7316 GB, free: 11.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.88e-05/0.188, allocations: 99.27 kB / 0.7317 GB, free: 11.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.188, allocations: 0 / 0.7317 GB, free: 11.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003051/0.1883, allocations: 55.81 kB / 0.7318 GB, free: 11.43 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0007206/0.1891, allocations: 0.8299 MB / 0.7326 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005389/0.1896, allocations: 264.2 kB / 0.7328 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1896, allocations: 3.938 kB / 0.7328 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.641e-05/0.1897, allocations: 55.97 kB / 0.7329 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.19, allocations: 28.47 kB / 0.7329 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.1926, allocations: 2.045 MB / 0.7349 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.193, allocations: 0.7085 MB / 0.7356 GB, free: 7.281 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.81e-05/0.193, allocations: 13.08 kB / 0.7356 GB, free: 7.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.1931, allocations: 39.42 kB / 0.7357 GB, free: 7.23 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.1931, allocations: 0 / 0.7357 GB, free: 7.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.2147, allocations: 3.653 MB / 0.7392 GB, free: 3.699 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/8.559, allocations: 20.14 kB / 0.7392 GB, free: 3.684 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.67554259300232] Failed to read output from testmodel.py, exit status != 0: 8.68667171098059 8.710570453 8.525420571 Calling exit ...