Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.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.001958/0.001958, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.002417/0.002417, allocations: 164 kB / 23.76 MB, free: 4.195 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.504/1.504, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.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.9838/0.9838, allocations: 113.9 MB / 374.5 MB, free: 12.88 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: translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor") [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.00209/0.00209, allocations: 63.89 kB / 0.555 GB, free: 2.766 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1764, allocations: 89.14 MB / 0.6421 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001791/0.1782, allocations: 0.6256 MB / 0.6427 GB, free: 8.945 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1798, allocations: 1.194 MB / 0.6439 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.1798, allocations: 0 / 0.6439 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.1798, allocations: 7.922 kB / 0.6439 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.1799, allocations: 19.86 kB / 0.6439 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.1805, allocations: 216.7 kB / 0.6441 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.1808, allocations: 171.7 kB / 0.6443 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.1808, allocations: 12 kB / 0.6443 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1809, allocations: 71.88 kB / 0.6443 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1811, allocations: 55.84 kB / 0.6444 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.1811, allocations: 12 kB / 0.6444 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.368e-05/0.1812, allocations: 31.98 kB / 0.6444 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.1812, allocations: 3.938 kB / 0.6444 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.876e-05/0.1813, allocations: 67.81 kB / 0.6445 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1815, allocations: 151.5 kB / 0.6447 GB, free: 6.938 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1815, allocations: 0 / 0.6447 GB, free: 6.938 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1815, allocations: 0 / 0.6447 GB, free: 6.938 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1815, allocations: 0 / 0.6447 GB, free: 6.938 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005478/0.1821, allocations: 361.5 kB / 0.645 GB, free: 6.539 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1821, allocations: 8.031 kB / 0.645 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.1822, allocations: 8.938 kB / 0.645 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1823, allocations: 114.5 kB / 0.6451 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1823, allocations: 4.375 kB / 0.6451 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.1824, allocations: 16.38 kB / 0.6451 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1825, allocations: 54.17 kB / 0.6452 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1825, allocations: 192 / 0.6452 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1825, allocations: 3.938 kB / 0.6452 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.1825, allocations: 3.938 kB / 0.6452 GB, free: 6.301 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.329e-05/0.1825, allocations: 16 kB / 0.6452 GB, free: 6.285 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.183, allocations: 272.5 kB / 0.6455 GB, free: 5.988 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.137e-05/0.1831, allocations: 34.56 kB / 0.6455 GB, free: 5.945 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.1831, allocations: 20.73 kB / 0.6455 GB, free: 5.922 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.1831, allocations: 3.984 kB / 0.6455 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.1833, allocations: 87.41 kB / 0.6456 GB, free: 5.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1833, allocations: 0 / 0.6456 GB, free: 5.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002754/0.1835, allocations: 101.9 kB / 0.6457 GB, free: 5.715 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.1836, allocations: 59.34 kB / 0.6458 GB, free: 5.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1837, allocations: 113.8 kB / 0.6459 GB, free: 5.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.1837, allocations: 33.7 kB / 0.6459 GB, free: 5.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.1838, allocations: 96.11 kB / 0.646 GB, free: 5.387 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.1838, allocations: 11.91 kB / 0.646 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.1839, allocations: 45.69 kB / 0.6461 GB, free: 5.324 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.1841, allocations: 323.2 kB / 0.6464 GB, free: 5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.1843, allocations: 123.4 kB / 0.6465 GB, free: 4.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1845, allocations: 153.8 kB / 0.6466 GB, free: 4.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1847, allocations: 163.5 kB / 0.6468 GB, free: 4.504 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1847, allocations: 4 kB / 0.6468 GB, free: 4.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004782/0.1852, allocations: 320.2 kB / 0.6471 GB, free: 4.156 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.795e-05/0.1852, allocations: 67.39 kB / 0.6472 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.1852, allocations: 12.11 kB / 0.6472 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1853, allocations: 0 / 0.6472 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.223e-05/0.1853, allocations: 7.938 kB / 0.6472 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1853, allocations: 4.062 kB / 0.6472 GB, free: 4.055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.1856, allocations: 55.89 kB / 0.6472 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.1857, allocations: 11.98 kB / 0.6472 GB, free: 3.988 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.0001172/0.1858, allocations: 137.1 kB / 0.6474 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.1858, allocations: 0 / 0.6474 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.1858, allocations: 12.44 kB / 0.6474 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1858, allocations: 0 / 0.6474 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1858, allocations: 0 / 0.6474 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1858, allocations: 0 / 0.6474 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.1859, allocations: 129.2 kB / 0.6475 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1859, allocations: 3.938 kB / 0.6475 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.186, allocations: 3.938 kB / 0.6475 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.186, allocations: 0 / 0.6475 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.186, allocations: 4 kB / 0.6475 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.186, allocations: 4 kB / 0.6475 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.186, allocations: 0 / 0.6475 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.1861, allocations: 113 kB / 0.6476 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.1861, allocations: 7.953 kB / 0.6476 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1862, allocations: 8.047 kB / 0.6477 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.1862, allocations: 96 / 0.6477 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.1862, allocations: 11.94 kB / 0.6477 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.1862, allocations: 7.984 kB / 0.6477 GB, free: 3.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.649e-05/0.1863, allocations: 91.22 kB / 0.6478 GB, free: 3.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1863, allocations: 0 / 0.6478 GB, free: 3.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002261/0.1865, allocations: 27.98 kB / 0.6478 GB, free: 3.383 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001233/0.1866, allocations: 103.2 kB / 0.6479 GB, free: 3.273 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003815/0.187, allocations: 278.1 kB / 0.6481 GB, free: 2.965 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.187, allocations: 0 / 0.6481 GB, free: 2.965 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.16e-05/0.1871, allocations: 23.98 kB / 0.6482 GB, free: 2.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.1873, allocations: 19.92 kB / 0.6482 GB, free: 2.922 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.1876, allocations: 155 kB / 0.6483 GB, free: 2.738 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.364e-05/0.1877, allocations: 75.33 kB / 0.6484 GB, free: 2.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.1877, allocations: 4 kB / 0.6484 GB, free: 2.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.1877, allocations: 12.5 kB / 0.6484 GB, free: 2.629 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1877, allocations: 0 / 0.6484 GB, free: 2.629 MB / 0.545 GB Notification: Performance of Templates: time 0.004829/0.1926, allocations: 2.056 MB / 0.6504 GB, free: 0.625 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.516307279001921] Failed to read output from testmodel.py, exit status != 0: 0.2014198349788785 0.21669855200000002 0.032114031 Calling exit ...