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.00133/0.00133, allocations: 85.14 kB / 19.94 MB, free: 1.777 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.001349/0.001349, allocations: 161.9 kB / 23.21 MB, free: 4.91 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.38/1.38, allocations: 177.1 MB / 203.5 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] 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.8875/0.8875, allocations: 114 MB / 373.9 MB, free: 13.24 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: translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5547 GB, free: 2.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.325e-05, allocations: 4.953 kB / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.001652/0.001675, allocations: 0.7247 MB / 0.5554 GB, free: 1.914 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.003195, allocations: 1.158 MB / 0.5565 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.003243, allocations: 4 kB / 0.5565 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.003267, allocations: 3.938 kB / 0.5565 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.946e-05/0.003336, allocations: 11.86 kB / 0.5565 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.003783, allocations: 137.2 kB / 0.5567 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.003961, allocations: 123.7 kB / 0.5568 GB, free: 484 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.966e-05/0.004041, allocations: 11.98 kB / 0.5568 GB, free: 472 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.004158, allocations: 63.89 kB / 0.5569 GB, free: 408 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.894e-05/0.004257, allocations: 39.88 kB / 0.5569 GB, free: 368 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.004287, allocations: 12 kB / 0.5569 GB, free: 356 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.479e-05/0.004352, allocations: 19.98 kB / 0.5569 GB, free: 336 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.004371, allocations: 4 kB / 0.5569 GB, free: 332 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.945e-05/0.004441, allocations: 39.89 kB / 0.557 GB, free: 292 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.004641, allocations: 135.6 kB / 0.5571 GB, free: 156 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004643, allocations: 4 kB / 0.5571 GB, free: 152 kB / 462.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004644, allocations: 0 / 0.5571 GB, free: 152 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.004647, allocations: 0 / 0.5571 GB, free: 152 kB / 462.1 MB 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.0005911/0.005238, allocations: 335.8 kB / 0.5574 GB, free: 15.78 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.00527, allocations: 8.625 kB / 0.5574 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.00532, allocations: 12.94 kB / 0.5575 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.00543, allocations: 112.2 kB / 0.5576 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.005447, allocations: 4.312 kB / 0.5576 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.005472, allocations: 12.38 kB / 0.5576 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.00566, allocations: 66.2 kB / 0.5576 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.005668, allocations: 4.188 kB / 0.5576 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.00568, allocations: 4.375 kB / 0.5576 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.005684, allocations: 384 / 0.5577 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.005869, allocations: 43.89 kB / 0.5577 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.0063, allocations: 256.4 kB / 0.5579 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.006487, allocations: 62.61 kB / 0.558 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.006595, allocations: 28.95 kB / 0.558 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.006609, allocations: 4 kB / 0.558 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.006819, allocations: 87.3 kB / 0.5581 GB, free: 15.01 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.00682, allocations: 0 / 0.5581 GB, free: 15.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004557/0.007276, allocations: 149.5 kB / 0.5583 GB, free: 14.86 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.00732, allocations: 55.41 kB / 0.5583 GB, free: 14.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.007435, allocations: 129.8 kB / 0.5584 GB, free: 14.65 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.007465, allocations: 29.64 kB / 0.5585 GB, free: 14.62 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.007526, allocations: 88.22 kB / 0.5585 GB, free: 14.53 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.00756, allocations: 23.84 kB / 0.5586 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.007636, allocations: 41.69 kB / 0.5586 GB, free: 14.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.007777, allocations: 318.8 kB / 0.5589 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.007964, allocations: 85.66 kB / 0.559 GB, free: 14.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.008173, allocations: 110 kB / 0.5591 GB, free: 13.92 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.008471, allocations: 154.1 kB / 0.5592 GB, free: 13.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008473, allocations: 0 / 0.5592 GB, free: 13.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005027/0.008976, allocations: 248.9 kB / 0.5595 GB, free: 13.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.009011, allocations: 29.7 kB / 0.5595 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.009019, allocations: 4 kB / 0.5595 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.009031, allocations: 0 / 0.5595 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.009124, allocations: 19.92 kB / 0.5595 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.009131, allocations: 4 kB / 0.5595 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.009343, allocations: 31.95 kB / 0.5596 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.009362, allocations: 4 kB / 0.5596 GB, free: 13.39 MB / 478.1 MB 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.0001211/0.009483, allocations: 133.8 kB / 0.5597 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.009501, allocations: 11.89 kB / 0.5597 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.009526, allocations: 8.438 kB / 0.5597 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.00953, allocations: 4 kB / 0.5597 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.009533, allocations: 0 / 0.5597 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.009536, allocations: 0 / 0.5597 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.009996, allocations: 318 kB / 0.56 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.009997, allocations: 0 / 0.56 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.01005, allocations: 11.98 kB / 0.56 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.01006, allocations: 4 kB / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.01008, allocations: 8.062 kB / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01008, allocations: 0 / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.207e-06/0.01008, allocations: 3.938 kB / 0.56 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.0104, allocations: 211.4 kB / 0.5603 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.01042, allocations: 3.953 kB / 0.5603 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.01044, allocations: 11.92 kB / 0.5603 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.01053, allocations: 12 kB / 0.5603 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.01057, allocations: 3.984 kB / 0.5603 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.01058, allocations: 4 kB / 0.5603 GB, free: 12.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.01063, allocations: 93.34 kB / 0.5604 GB, free: 12.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01063, allocations: 0 / 0.5604 GB, free: 12.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.01089, allocations: 24 kB / 0.5604 GB, free: 12.48 MB / 478.1 MB 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.0001406/0.01103, allocations: 107.2 kB / 0.5605 GB, free: 12.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.01145, allocations: 193 kB / 0.5607 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01146, allocations: 0 / 0.5607 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.01158, allocations: 39.91 kB / 0.5607 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.01184, allocations: 11.94 kB / 0.5607 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.01219, allocations: 161.6 kB / 0.5609 GB, free: 11.92 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.798e-05/0.01226, allocations: 71.59 kB / 0.561 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.927e-05/0.01229, allocations: 7.984 kB / 0.561 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.01232, allocations: 12.5 kB / 0.561 GB, free: 11.81 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01232, allocations: 0 / 0.561 GB, free: 11.81 MB / 478.1 MB Notification: Performance of Templates: time 0.004447/0.01677, allocations: 1.587 MB / 0.5625 GB, free: 10.27 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.985941931605339] Failed to read output from testmodel.py, exit status != 0: 0.024620022624731064 0.039398097 0.031789226000000004 Calling exit ...