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.001683/0.001683, allocations: 119 kB / 19.69 MB, free: 2.199 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.001618/0.001618, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.9328/0.9328, allocations: 150 MB / 463.2 MB, free: 10.45 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",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.00214/0.00214, allocations: 62.91 kB / 0.6413 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1938, allocations: 89.16 MB / 0.7284 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00225/0.196, allocations: 0.6404 MB / 0.729 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1978, allocations: 1.225 MB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.1979, allocations: 4 kB / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.1979, allocations: 3.938 kB / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.661e-05/0.198, allocations: 11.92 kB / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.1987, allocations: 206.9 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.199, allocations: 183.6 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/0.1991, allocations: 11.98 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.1992, allocations: 67.89 kB / 0.7306 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1994, allocations: 63.8 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.1994, allocations: 19.98 kB / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.293e-05/0.1995, allocations: 23.98 kB / 0.7307 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.1995, allocations: 11.98 kB / 0.7308 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.139e-05/0.1996, allocations: 59.84 kB / 0.7308 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.1998, allocations: 151.8 kB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1998, allocations: 0 / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1998, allocations: 3.938 kB / 0.731 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1999, allocations: 0 / 0.731 GB, free: 14.53 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.000588/0.2004, allocations: 365.5 kB / 0.7313 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.2005, allocations: 8.031 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.2005, allocations: 34.75 kB / 0.7314 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.2006, allocations: 8.938 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2007, allocations: 118.5 kB / 0.7315 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.2007, allocations: 8.375 kB / 0.7315 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.2008, allocations: 12.36 kB / 0.7315 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.2009, allocations: 46.25 kB / 0.7315 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2009, allocations: 3.938 kB / 0.7315 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.2009, allocations: 0 / 0.7315 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2009, allocations: 7.984 kB / 0.7315 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.551e-05/0.2009, allocations: 15.94 kB / 0.7316 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.2014, allocations: 323.8 kB / 0.7319 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.384e-05/0.2015, allocations: 30.58 kB / 0.7319 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.2016, allocations: 20.94 kB / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.2016, allocations: 0 / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.2018, allocations: 83.27 kB / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2018, allocations: 0 / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002562/0.202, allocations: 101.6 kB / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.2021, allocations: 59.41 kB / 0.7322 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.2022, allocations: 129.6 kB / 0.7323 GB, free: 13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.2022, allocations: 29.7 kB / 0.7323 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.2023, allocations: 92.12 kB / 0.7324 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.2023, allocations: 15.91 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.2024, allocations: 53.67 kB / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2025, allocations: 318.8 kB / 0.7328 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.2027, allocations: 59.97 kB / 0.7328 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.2028, allocations: 97.19 kB / 0.7329 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.203, allocations: 159.6 kB / 0.7331 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.203, allocations: 4 kB / 0.7331 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004336/0.2035, allocations: 260.9 kB / 0.7333 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.577e-05/0.2035, allocations: 67.39 kB / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2036, allocations: 0 / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2036, allocations: 4 kB / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.244e-05/0.2036, allocations: 7.922 kB / 0.7334 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2036, allocations: 4 kB / 0.7334 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.2039, allocations: 56.02 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.204, allocations: 15.98 kB / 0.7335 GB, free: 11.69 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.0001195/0.2041, allocations: 127.7 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.2041, allocations: 4 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.2041, allocations: 8.375 kB / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2041, allocations: 4 kB / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2041, allocations: 0 / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2041, allocations: 4 kB / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2043, allocations: 153.1 kB / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2043, allocations: 0 / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-06/0.2043, allocations: 0 / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2043, allocations: 3.938 kB / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.2043, allocations: 4 kB / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2043, allocations: 3.938 kB / 0.7338 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2043, allocations: 0 / 0.7338 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.2045, allocations: 125.3 kB / 0.7339 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.2045, allocations: 3.953 kB / 0.7339 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.2045, allocations: 7.984 kB / 0.7339 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.206e-05/0.2045, allocations: 4 kB / 0.7339 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.2046, allocations: 3.984 kB / 0.7339 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.2046, allocations: 8.062 kB / 0.7339 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.596e-05/0.2046, allocations: 87.28 kB / 0.734 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2046, allocations: 0 / 0.734 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002436/0.2049, allocations: 35.98 kB / 0.734 GB, free: 11.04 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.0005158/0.2054, allocations: 0.6475 MB / 0.7347 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003445/0.2057, allocations: 218.7 kB / 0.7349 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2057, allocations: 3.938 kB / 0.7349 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/0.2058, allocations: 23.92 kB / 0.7349 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.206, allocations: 24.48 kB / 0.7349 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.2082, allocations: 1.716 MB / 0.7366 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.2085, allocations: 0.6885 MB / 0.7373 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.034e-05/0.2085, allocations: 4 kB / 0.7373 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.2086, allocations: 15.44 kB / 0.7373 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.2086, allocations: 4 kB / 0.7373 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/0.2406, allocations: 3.023 MB / 0.7402 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.33, allocations: 6.906 kB / 0.7402 GB, free: 4.633 MB / 0.5606 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.985722699901089] Failed to read output from testmodel.py, exit status != 0: 11.43791934591718 11.461618494 11.257442512 Calling exit ...