Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.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.001792/0.001792, allocations: 119.4 kB / 19.7 MB, free: 2.188 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.002017/0.002017, allocations: 219.7 kB / 23 MB, free: 5.004 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.9237/0.9237, allocations: 150 MB / 463.2 MB, free: 10.91 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.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",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.002134/0.002134, allocations: 70.8 kB / 0.6413 GB, free: 10.63 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1907, allocations: 89.18 MB / 0.7284 GB, free: 1.523 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.002174/0.1929, allocations: 0.7254 MB / 0.7291 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1946, allocations: 1.19 MB / 0.7302 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.1946, allocations: 0 / 0.7302 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.1947, allocations: 3.938 kB / 0.7302 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.041e-05/0.1947, allocations: 19.86 kB / 0.7303 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.1953, allocations: 131.8 kB / 0.7304 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1955, allocations: 123.8 kB / 0.7305 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1956, allocations: 11.98 kB / 0.7305 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1957, allocations: 47.91 kB / 0.7306 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1958, allocations: 43.88 kB / 0.7306 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.1959, allocations: 12 kB / 0.7306 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-05/0.1959, allocations: 23.98 kB / 0.7306 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.196, allocations: 15.92 kB / 0.7307 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.196, allocations: 43.84 kB / 0.7307 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.1962, allocations: 111.6 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1962, allocations: 0 / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1962, allocations: 4 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.1963, allocations: 0 / 0.7308 GB, free: 15.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006299/0.1969, allocations: 335.8 kB / 0.7311 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1969, allocations: 12.03 kB / 0.7311 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.197, allocations: 30.75 kB / 0.7312 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.197, allocations: 8.891 kB / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1971, allocations: 126.5 kB / 0.7313 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1972, allocations: 384 / 0.7313 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1972, allocations: 8.375 kB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1974, allocations: 66.22 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.1974, allocations: 7.875 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1974, allocations: 4 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1974, allocations: 3.984 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.1976, allocations: 43.95 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.1981, allocations: 299.8 kB / 0.7317 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.1983, allocations: 58.55 kB / 0.7318 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1984, allocations: 36.95 kB / 0.7318 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.1985, allocations: 0 / 0.7318 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.1987, allocations: 99.38 kB / 0.7319 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.1987, allocations: 0 / 0.7319 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004427/0.1992, allocations: 141.5 kB / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.1992, allocations: 55.34 kB / 0.7321 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1993, allocations: 123.6 kB / 0.7322 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.1994, allocations: 33.7 kB / 0.7322 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.1994, allocations: 92.14 kB / 0.7323 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.1995, allocations: 19.89 kB / 0.7323 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.1995, allocations: 41.69 kB / 0.7324 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1997, allocations: 314.8 kB / 0.7327 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.1998, allocations: 55.95 kB / 0.7327 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.2, allocations: 88.25 kB / 0.7328 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.2003, allocations: 137.9 kB / 0.7329 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2003, allocations: 4 kB / 0.733 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004657/0.2008, allocations: 211.1 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.2008, allocations: 35.58 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2008, allocations: 3.984 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2009, allocations: 0 / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.2009, allocations: 8 kB / 0.7332 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.201, allocations: 12.23 kB / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.2012, allocations: 43.98 kB / 0.7333 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.2012, allocations: 7.984 kB / 0.7333 GB, free: 12.25 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.000103/0.2013, allocations: 121.8 kB / 0.7334 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.2014, allocations: 7.953 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.2014, allocations: 8.375 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2014, allocations: 4 kB / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2014, allocations: 4 kB / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2014, allocations: 0 / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.2019, allocations: 353.5 kB / 0.7337 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2019, allocations: 0 / 0.7337 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.2019, allocations: 15.92 kB / 0.7338 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2019, allocations: 0 / 0.7338 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.202, allocations: 0 / 0.7338 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.202, allocations: 0 / 0.7338 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.202, allocations: 4 kB / 0.7338 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.2023, allocations: 211.3 kB / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.2023, allocations: 11.95 kB / 0.734 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.2023, allocations: 4 kB / 0.734 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.2024, allocations: 7.984 kB / 0.734 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.2024, allocations: 11.92 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.2024, allocations: 8 kB / 0.734 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.062e-05/0.2025, allocations: 91.27 kB / 0.7341 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2025, allocations: 0 / 0.7341 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002613/0.2028, allocations: 20 kB / 0.7341 GB, free: 11.31 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0007018/0.2035, allocations: 0.7604 MB / 0.7348 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004032/0.2039, allocations: 159.3 kB / 0.735 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2039, allocations: 0 / 0.735 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.204, allocations: 35.97 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.2043, allocations: 24.3 kB / 0.7351 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.2065, allocations: 1.685 MB / 0.7367 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.2069, allocations: 0.6923 MB / 0.7374 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.2069, allocations: 4 kB / 0.7374 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.207, allocations: 23.42 kB / 0.7374 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.207, allocations: 4 kB / 0.7374 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.2386, allocations: 2.683 MB / 0.74 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.06, allocations: 0 / 0.74 GB, free: 5.207 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.713387365918607] Failed to read output from testmodel.py, exit status != 0: 11.165166664868593 11.192850901 10.99150016 Calling exit ...