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.001344/0.001344, allocations: 116.3 kB / 17.84 MB, free: 5.312 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.001494/0.001494, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.532/1.532, allocations: 230.6 MB / 254.2 MB, free: 15.06 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.05/1.05, allocations: 150 MB / 460.2 MB, free: 5.234 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.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",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.002035/0.002035, allocations: 64.88 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1917, allocations: 89.13 MB / 0.7239 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.002018/0.1937, allocations: 0.7282 MB / 0.7246 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1954, allocations: 1.184 MB / 0.7257 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.1954, allocations: 0 / 0.7257 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.1955, allocations: 3.938 kB / 0.7257 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.1955, allocations: 19.84 kB / 0.7257 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.1961, allocations: 135.5 kB / 0.7259 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.1962, allocations: 115.8 kB / 0.726 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.505e-05/0.1963, allocations: 15.92 kB / 0.726 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1965, allocations: 55.84 kB / 0.726 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.1966, allocations: 47.8 kB / 0.7261 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.1966, allocations: 12 kB / 0.7261 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.762e-05/0.1967, allocations: 23.98 kB / 0.7261 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.1967, allocations: 12 kB / 0.7261 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.1968, allocations: 39.84 kB / 0.7262 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.197, allocations: 115.9 kB / 0.7263 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.197, allocations: 0 / 0.7263 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.197, allocations: 0 / 0.7263 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.197, allocations: 4 kB / 0.7263 GB, free: 1.508 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000639/0.1976, allocations: 412.9 kB / 0.7267 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1977, allocations: 8.031 kB / 0.7267 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.438e-05/0.1977, allocations: 4.188 kB / 0.7267 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.1977, allocations: 38.75 kB / 0.7267 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.1977, allocations: 8.891 kB / 0.7267 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.1979, allocations: 184.1 kB / 0.7269 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1979, allocations: 4.375 kB / 0.7269 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.1979, allocations: 4.375 kB / 0.7269 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.1981, allocations: 69.97 kB / 0.727 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1982, allocations: 0 / 0.727 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1982, allocations: 0 / 0.727 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1982, allocations: 4 kB / 0.727 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.1984, allocations: 43.95 kB / 0.727 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.1989, allocations: 332.7 kB / 0.7274 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1991, allocations: 50.61 kB / 0.7274 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.1992, allocations: 40.95 kB / 0.7274 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.1992, allocations: 0 / 0.7274 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.1995, allocations: 91.25 kB / 0.7275 GB, free: 52 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.1995, allocations: 0 / 0.7275 GB, free: 52 kB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0005619/0.2, allocations: 137.6 kB / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.2001, allocations: 51.41 kB / 0.7277 GB, free: 15.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.2002, allocations: 125.8 kB / 0.7278 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.2002, allocations: 29.7 kB / 0.7279 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.2003, allocations: 88.14 kB / 0.7279 GB, free: 15.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.2003, allocations: 19.97 kB / 0.728 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.384e-05/0.2004, allocations: 41.69 kB / 0.728 GB, free: 15.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2006, allocations: 322.8 kB / 0.7283 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.2007, allocations: 51.95 kB / 0.7284 GB, free: 15.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.2009, allocations: 88.19 kB / 0.7284 GB, free: 15.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.2012, allocations: 145.8 kB / 0.7286 GB, free: 14.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2012, allocations: 4 kB / 0.7286 GB, free: 14.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004814/0.2017, allocations: 207.3 kB / 0.7288 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.2018, allocations: 41.64 kB / 0.7288 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.2018, allocations: 3.984 kB / 0.7288 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.2018, allocations: 4 kB / 0.7288 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.2019, allocations: 11.94 kB / 0.7288 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2019, allocations: 3.984 kB / 0.7288 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.2021, allocations: 39.86 kB / 0.7289 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.2022, allocations: 11.98 kB / 0.7289 GB, free: 14.54 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: 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.0001183/0.2023, allocations: 128 kB / 0.729 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.2023, allocations: 3.953 kB / 0.729 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.2023, allocations: 16.31 kB / 0.729 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2023, allocations: 0 / 0.729 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2023, allocations: 0 / 0.729 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2023, allocations: 0 / 0.729 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.2029, allocations: 378.8 kB / 0.7294 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2029, allocations: 4 kB / 0.7294 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.2029, allocations: 11.92 kB / 0.7294 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2029, allocations: 0 / 0.7294 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.203, allocations: 0 / 0.7294 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.203, allocations: 4 kB / 0.7294 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.203, allocations: 3.938 kB / 0.7294 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.2033, allocations: 207.5 kB / 0.7296 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.2034, allocations: 81.06 kB / 0.7297 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.2034, allocations: 11.98 kB / 0.7297 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.2035, allocations: 7.984 kB / 0.7297 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.2035, allocations: 11.92 kB / 0.7297 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.2035, allocations: 4 kB / 0.7297 GB, free: 13.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.336e-05/0.2036, allocations: 91.27 kB / 0.7298 GB, free: 13.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2036, allocations: 0 / 0.7298 GB, free: 13.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002618/0.2039, allocations: 23.94 kB / 0.7298 GB, free: 13.47 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 (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.0007252/0.2046, allocations: 0.7551 MB / 0.7306 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004081/0.205, allocations: 159.3 kB / 0.7307 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.205, allocations: 0 / 0.7307 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.2051, allocations: 43.84 kB / 0.7308 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.2054, allocations: 25.42 kB / 0.7308 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.2077, allocations: 1.689 MB / 0.7324 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.2081, allocations: 0.6885 MB / 0.7331 GB, free: 9.938 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.2081, allocations: 4 kB / 0.7331 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.2082, allocations: 23.42 kB / 0.7331 GB, free: 9.91 MB / 0.545 GB Notification: Performance of SimCode: time 6.52e-07/0.2082, allocations: 0 / 0.7331 GB, free: 9.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.2301, allocations: 2.587 MB / 0.7357 GB, free: 7.461 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.468, allocations: 12.53 kB / 0.7357 GB, free: 7.449 MB / 0.545 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.585642625985201] Failed to read output from testmodel.py, exit status != 0: 8.5975198619999 8.625230809 8.42350205 Calling exit ...