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.001827/0.001827, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002342/0.002342, allocations: 209 kB / 22.99 MB, free: 4.609 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.001/1.001, allocations: 149.9 MB / 463.1 MB, free: 10.38 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.002202/0.002202, allocations: 67.52 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2037, allocations: 89.17 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.002202/0.2059, allocations: 0.7155 MB / 0.7289 GB, free: 304 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.2079, allocations: 1.167 MB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.2079, allocations: 3.938 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.494e-05/0.208, allocations: 3.938 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.2081, allocations: 15.91 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006179/0.2087, allocations: 136 kB / 0.7302 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.2089, allocations: 115.8 kB / 0.7303 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.209, allocations: 11.98 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.2091, allocations: 55.83 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.2092, allocations: 35.89 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.2093, allocations: 12 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.2093, allocations: 19.98 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.108e-05/0.2094, allocations: 15.92 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.855e-05/0.2094, allocations: 35.91 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.2097, allocations: 115.9 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2097, allocations: 0 / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2097, allocations: 0 / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2097, allocations: 0 / 0.7306 GB, free: 14.55 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.0006598/0.2103, allocations: 335.8 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.2104, allocations: 8.031 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.2104, allocations: 38.73 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.2105, allocations: 12.89 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.2106, allocations: 126.3 kB / 0.7311 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2106, allocations: 4.375 kB / 0.7311 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.2107, allocations: 12.38 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.2109, allocations: 66.22 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2109, allocations: 3.938 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2109, allocations: 0 / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2109, allocations: 0 / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.2111, allocations: 39.95 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.2117, allocations: 283.8 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.2119, allocations: 54.61 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.212, allocations: 32.97 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.212, allocations: 3.984 kB / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/0.2123, allocations: 99.31 kB / 0.7316 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.833e-06/0.2124, allocations: 0 / 0.7316 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005307/0.2129, allocations: 137.6 kB / 0.7318 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.2129, allocations: 55.41 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.2131, allocations: 124.7 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.2131, allocations: 29.7 kB / 0.732 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.2132, allocations: 92.08 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.2133, allocations: 19.89 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.2133, allocations: 37.7 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.2135, allocations: 322.8 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.2137, allocations: 81.67 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.2139, allocations: 121.9 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.2142, allocations: 145.9 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2142, allocations: 0 / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005111/0.2148, allocations: 241.2 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.2148, allocations: 45.62 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2148, allocations: 4 kB / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.2148, allocations: 64 / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.215, allocations: 15.98 kB / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.215, allocations: 3.984 kB / 0.733 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.2152, allocations: 39.86 kB / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.2152, allocations: 12.08 kB / 0.7331 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: 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.0002625/0.2155, allocations: 132.1 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.2155, allocations: 7.953 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.2156, allocations: 8.375 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2156, allocations: 0 / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2156, allocations: 4 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2156, allocations: 3.984 kB / 0.7332 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006825/0.2163, allocations: 333.6 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2163, allocations: 4 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.2163, allocations: 15.92 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2163, allocations: 0 / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.2163, allocations: 0 / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2163, allocations: 0 / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2163, allocations: 0 / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.2168, allocations: 211.4 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.2168, allocations: 11.95 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.2168, allocations: 4 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.2169, allocations: 7.984 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.217, allocations: 15.92 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.217, allocations: 0 / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001053/0.2171, allocations: 91.27 kB / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2171, allocations: 0 / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003128/0.2174, allocations: 27.94 kB / 0.7339 GB, free: 10.76 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.0009952/0.2184, allocations: 0.7514 MB / 0.7347 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.2189, allocations: 185 kB / 0.7348 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2189, allocations: 7.875 kB / 0.7348 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.219, allocations: 39.92 kB / 0.7349 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.2193, allocations: 13.33 kB / 0.7349 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.222, allocations: 1.815 MB / 0.7367 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.883e-05/0.2221, allocations: 75.33 kB / 0.7367 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.243e-05/0.2221, allocations: 7.859 kB / 0.7367 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.2222, allocations: 19.44 kB / 0.7368 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.2222, allocations: 0 / 0.7368 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.254, allocations: 3.21 MB / 0.7399 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.43, allocations: 14.06 kB / 0.7399 GB, free: 4.586 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.291598184965551] Failed to read output from testmodel.py, exit status != 0: 11.540412920061499 11.557817281 11.344773293 Calling exit ...