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.001316/0.001316, allocations: 109 kB / 20.48 MB, free: 1.473 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.001664/0.001664, allocations: 209.8 kB / 23.79 MB, free: 4.684 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.498/1.498, allocations: 230.6 MB / 257.6 MB, free: 8.004 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.9993/0.9993, allocations: 150 MB / 463.9 MB, free: 10.55 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="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.002272/0.002272, allocations: 63.31 kB / 0.642 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1937, allocations: 89.19 MB / 0.7291 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.002761/0.1964, allocations: 0.7242 MB / 0.7298 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1983, allocations: 1.186 MB / 0.731 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.1984, allocations: 4 kB / 0.731 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.1984, allocations: 7.875 kB / 0.731 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.183e-05/0.1985, allocations: 7.875 kB / 0.731 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.1992, allocations: 145.5 kB / 0.7312 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.1995, allocations: 111.8 kB / 0.7313 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.175e-05/0.1996, allocations: 15.98 kB / 0.7313 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1997, allocations: 43.91 kB / 0.7313 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1998, allocations: 51.81 kB / 0.7314 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.1998, allocations: 12 kB / 0.7314 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.066e-05/0.1999, allocations: 23.98 kB / 0.7314 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.1999, allocations: 11.98 kB / 0.7314 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.491e-05/0.2, allocations: 43.84 kB / 0.7315 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.2002, allocations: 111.8 kB / 0.7316 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2002, allocations: 0 / 0.7316 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2002, allocations: 0 / 0.7316 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2002, allocations: 4 kB / 0.7316 GB, free: 14.81 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.0006256/0.2009, allocations: 339.8 kB / 0.7319 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2009, allocations: 8.031 kB / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.671e-05/0.2009, allocations: 192 / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.2009, allocations: 38.73 kB / 0.7319 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.201, allocations: 8.891 kB / 0.7319 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2011, allocations: 118.4 kB / 0.7321 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.2011, allocations: 8.375 kB / 0.7321 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.2012, allocations: 12.38 kB / 0.7321 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.2014, allocations: 65.97 kB / 0.7321 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2014, allocations: 0 / 0.7321 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2014, allocations: 7.922 kB / 0.7321 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2014, allocations: 7.938 kB / 0.7322 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.2016, allocations: 39.95 kB / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.2023, allocations: 299.8 kB / 0.7325 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.2025, allocations: 58.55 kB / 0.7325 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.2026, allocations: 28.95 kB / 0.7326 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.2026, allocations: 0 / 0.7326 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.2029, allocations: 99.31 kB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.2029, allocations: 0 / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004813/0.2034, allocations: 137.6 kB / 0.7328 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.2035, allocations: 55.41 kB / 0.7328 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2036, allocations: 121.8 kB / 0.733 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.2036, allocations: 33.7 kB / 0.733 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.2037, allocations: 92.14 kB / 0.7331 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.2037, allocations: 15.89 kB / 0.7331 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.2038, allocations: 37.64 kB / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2039, allocations: 326.8 kB / 0.7334 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.2041, allocations: 51.97 kB / 0.7335 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.2043, allocations: 89.02 kB / 0.7336 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.2046, allocations: 133.9 kB / 0.7337 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2046, allocations: 8 kB / 0.7337 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004653/0.205, allocations: 211.1 kB / 0.7339 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.2051, allocations: 41.69 kB / 0.734 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.2051, allocations: 4 kB / 0.734 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.2051, allocations: 0 / 0.734 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.2052, allocations: 11.98 kB / 0.734 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2052, allocations: 8.062 kB / 0.734 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.2054, allocations: 43.86 kB / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.2054, allocations: 7.984 kB / 0.734 GB, free: 12.04 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.000111/0.2056, allocations: 125.7 kB / 0.7341 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.2056, allocations: 7.953 kB / 0.7342 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.2056, allocations: 8.375 kB / 0.7342 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2056, allocations: 0 / 0.7342 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2056, allocations: 4 kB / 0.7342 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2056, allocations: 7.984 kB / 0.7342 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/0.2062, allocations: 341.8 kB / 0.7345 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2062, allocations: 0 / 0.7345 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.2062, allocations: 7.984 kB / 0.7345 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.2062, allocations: 4 kB / 0.7345 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2062, allocations: 4 kB / 0.7345 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2062, allocations: 4 kB / 0.7345 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2062, allocations: 3.938 kB / 0.7345 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.2066, allocations: 207.5 kB / 0.7347 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.2066, allocations: 11.95 kB / 0.7347 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2066, allocations: 7.984 kB / 0.7347 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.2067, allocations: 4 kB / 0.7347 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.2067, allocations: 15.92 kB / 0.7348 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2068, allocations: 4 kB / 0.7348 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.98e-05/0.2068, allocations: 92.36 kB / 0.7348 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2068, allocations: 0 / 0.7348 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002714/0.2071, allocations: 27.94 kB / 0.7349 GB, free: 11.09 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.000689/0.2078, allocations: 0.754 MB / 0.7356 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.2082, allocations: 159.3 kB / 0.7358 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2082, allocations: 0 / 0.7358 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.2083, allocations: 31.98 kB / 0.7358 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.2086, allocations: 28.11 kB / 0.7358 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.2109, allocations: 1.687 MB / 0.7375 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.2112, allocations: 0.6846 MB / 0.7381 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.2113, allocations: 7.984 kB / 0.7381 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.2113, allocations: 23.44 kB / 0.7382 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2113, allocations: 0 / 0.7382 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.2383, allocations: 2.715 MB / 0.7408 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.31, allocations: 5 kB / 0.7408 GB, free: 4.988 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 os._exit(0), Time elapsed: 15.255697257001884] Failed to read output from testmodel.py, exit status != 0: 11.467663026996888 11.484746768 11.281236669 Calling exit ...