Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0008953/0.0008953, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0008688/0.0008688, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 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 0.8777/0.8777, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7329/0.7329, allocations: 154.6 MB / 414.5 MB, free: 0.6602 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/3.054e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001597/0.001628, allocations: 0.7255 MB / 0.521 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.002861, allocations: 1.207 MB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.002908, allocations: 0 / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.002939, allocations: 4.906 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.467e-05/0.003014, allocations: 15.86 kB / 0.5222 GB, free: 268 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.003444, allocations: 128.5 kB / 0.5224 GB, free: 140 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.003598, allocations: 116.3 kB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.003702, allocations: 24.86 kB / 0.5225 GB, free: 0 / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.00383, allocations: 60.03 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.003909, allocations: 41.55 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.003932, allocations: 8 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.012e-05/0.003992, allocations: 27.98 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.004016, allocations: 11.92 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.004068, allocations: 31.97 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.004239, allocations: 96.19 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.004243, allocations: 1.031 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.004244, allocations: 0 / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.004249, allocations: 0 / 0.5228 GB, free: 15.73 MB / 0.4948 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.0004994/0.004748, allocations: 435.3 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.004789, allocations: 8.031 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.004853, allocations: 12.89 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.989e-05/0.004943, allocations: 113.2 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.004961, allocations: 16.34 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.004979, allocations: 9.75 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.005112, allocations: 62.94 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.005126, allocations: 192 / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.005137, allocations: 4.922 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.005145, allocations: 1.094 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.774e-05/0.005183, allocations: 15.88 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.005596, allocations: 320.9 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.005717, allocations: 43.06 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.005751, allocations: 20.61 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.005761, allocations: 0 / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.005884, allocations: 86.14 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.005885, allocations: 0 / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002434/0.006128, allocations: 102.2 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.006172, allocations: 55.41 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.006268, allocations: 177.3 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.006291, allocations: 33.7 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.006356, allocations: 147.5 kB / 0.5244 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.006376, allocations: 15.91 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.006436, allocations: 40.3 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.006555, allocations: 0.4884 MB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.006634, allocations: 68.42 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-05/0.006717, allocations: 104.1 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.006825, allocations: 120.1 kB / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006827, allocations: 0 / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002326/0.00706, allocations: 214.1 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.007095, allocations: 33.64 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.007102, allocations: 5.344 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.007118, allocations: 0 / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.007201, allocations: 19.92 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.007209, allocations: 4.688 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.577e-05/0.007305, allocations: 25.03 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.007319, allocations: 4 kB / 0.5255 GB, free: 12.7 MB / 0.4948 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 8.514e-05/0.007404, allocations: 171.3 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.007418, allocations: 15.89 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.007445, allocations: 8.422 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.007448, allocations: 4 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.007452, allocations: 0 / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007455, allocations: 0 / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.007701, allocations: 345.3 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.007703, allocations: 2.594 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.007731, allocations: 7.938 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007733, allocations: 0 / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.007742, allocations: 8 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007744, allocations: 0 / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007745, allocations: 0 / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.00787, allocations: 232.2 kB / 0.5262 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-06/0.007877, allocations: 4 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.007896, allocations: 9.203 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.007934, allocations: 8 kB / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.007979, allocations: 3.984 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.007986, allocations: 4.656 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.008029, allocations: 135.8 kB / 0.5264 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008029, allocations: 0 / 0.5264 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000172/0.008201, allocations: 24.66 kB / 0.5264 GB, free: 11.66 MB / 0.4948 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.0001336/0.008335, allocations: 101.4 kB / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.008541, allocations: 169.1 kB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.008543, allocations: 0 / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.008585, allocations: 27.61 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.008796, allocations: 28 kB / 0.5267 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.009147, allocations: 171.8 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.393e-05/0.009201, allocations: 63.34 kB / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.009227, allocations: 7.984 kB / 0.5269 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.009257, allocations: 12.5 kB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.009258, allocations: 0.6875 kB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.004047/0.01331, allocations: 1.702 MB / 0.5286 GB, free: 9.43 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4289941750466824]