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.00129/0.00129, allocations: 104.3 kB / 20.48 MB, free: 1.383 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.001463/0.001463, allocations: 207.4 kB / 23.77 MB, free: 4.559 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.456/1.456, allocations: 230.6 MB / 257.6 MB, free: 7.809 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.9806/0.9806, allocations: 150 MB / 464 MB, free: 10.22 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.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",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.002013/0.002013, allocations: 63.22 kB / 0.642 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1746, allocations: 89.18 MB / 0.729 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002051/0.1766, allocations: 0.6261 MB / 0.7297 GB, free: 204 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1783, allocations: 1.21 MB / 0.7308 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.1784, allocations: 0 / 0.7308 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.1784, allocations: 7.922 kB / 0.7308 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.245e-05/0.1785, allocations: 11.88 kB / 0.7309 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.1792, allocations: 214.2 kB / 0.7311 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.1794, allocations: 171.8 kB / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.083e-05/0.1795, allocations: 7.984 kB / 0.7312 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1796, allocations: 67.89 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.1797, allocations: 63.84 kB / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.1798, allocations: 16 kB / 0.7314 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.518e-05/0.1799, allocations: 31.92 kB / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.1799, allocations: 11.94 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.417e-05/0.18, allocations: 55.88 kB / 0.7315 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1802, allocations: 151.9 kB / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1802, allocations: 3.938 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1802, allocations: 0 / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1802, allocations: 4 kB / 0.7316 GB, free: 14.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000576/0.1808, allocations: 357.5 kB / 0.732 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1808, allocations: 12.03 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.49e-05/0.1808, allocations: 192 / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.1809, allocations: 34.73 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.1809, allocations: 8.938 kB / 0.732 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.976e-05/0.181, allocations: 114.5 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.181, allocations: 4.375 kB / 0.7321 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.1811, allocations: 12.31 kB / 0.7321 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.1812, allocations: 65.92 kB / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.1812, allocations: 4 kB / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1812, allocations: 0 / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1812, allocations: 0 / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.1812, allocations: 15.98 kB / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.1817, allocations: 295.9 kB / 0.7325 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.324e-05/0.1818, allocations: 30.52 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.1818, allocations: 16.94 kB / 0.7326 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.1818, allocations: 4 kB / 0.7326 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.182, allocations: 79.33 kB / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.182, allocations: 0 / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002409/0.1823, allocations: 113.5 kB / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.1823, allocations: 51.41 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1824, allocations: 121.8 kB / 0.7329 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.1825, allocations: 33.7 kB / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.1826, allocations: 88.14 kB / 0.733 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.1826, allocations: 11.91 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1827, allocations: 49.69 kB / 0.7331 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1828, allocations: 326.8 kB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.183, allocations: 119.4 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.1832, allocations: 151.7 kB / 0.7337 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.1834, allocations: 164 kB / 0.7338 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1834, allocations: 3.984 kB / 0.7338 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005114/0.1839, allocations: 332.1 kB / 0.7341 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/0.184, allocations: 67.39 kB / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.184, allocations: 0 / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.184, allocations: 4 kB / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.897e-05/0.184, allocations: 4.125 kB / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.184, allocations: 4.312 kB / 0.7342 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.1844, allocations: 51.89 kB / 0.7343 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.1844, allocations: 15.98 kB / 0.7343 GB, free: 11.16 MB / 0.5606 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.0001284/0.1845, allocations: 125.7 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.1846, allocations: 7.984 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.1846, allocations: 12.38 kB / 0.7344 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1846, allocations: 4 kB / 0.7344 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1846, allocations: 0 / 0.7344 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1846, allocations: 0 / 0.7344 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.1847, allocations: 152.6 kB / 0.7346 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1847, allocations: 0 / 0.7346 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-06/0.1847, allocations: 0 / 0.7346 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1847, allocations: 0 / 0.7346 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.1848, allocations: 4 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1848, allocations: 3.984 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1848, allocations: 4.062 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.1849, allocations: 117 kB / 0.7347 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.1849, allocations: 7.953 kB / 0.7347 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.185, allocations: 3.938 kB / 0.7347 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.185, allocations: 0 / 0.7347 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.185, allocations: 11.98 kB / 0.7347 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.185, allocations: 4 kB / 0.7347 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.427e-05/0.1851, allocations: 91.27 kB / 0.7348 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1851, allocations: 0 / 0.7348 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002362/0.1853, allocations: 31.94 kB / 0.7348 GB, free: 10.52 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: 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.0005307/0.1858, allocations: 0.6556 MB / 0.7355 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.1862, allocations: 278 kB / 0.7357 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1862, allocations: 0 / 0.7357 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.936e-05/0.1863, allocations: 23.92 kB / 0.7358 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1865, allocations: 23.2 kB / 0.7358 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.1888, allocations: 1.966 MB / 0.7377 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.017e-05/0.1889, allocations: 75.33 kB / 0.7378 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.1889, allocations: 4 kB / 0.7378 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.1889, allocations: 15.44 kB / 0.7378 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.1889, allocations: 0 / 0.7378 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.2127, allocations: 3.242 MB / 0.741 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.67, allocations: 7.828 kB / 0.741 GB, free: 4.172 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.416552306967787] Failed to read output from testmodel.py, exit status != 0: 11.840700238011777 11.871943967 11.686241087 Calling exit ...