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.0008782/0.0008782, allocations: 88.22 kB / 19.65 MB, free: 272 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.0009508/0.0009508, allocations: 173 kB / 23.02 MB, free: 1.539 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.9742/0.9742, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7771/0.7771, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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 1.873e-06/1.873e-06, allocations: 0 / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.675e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001263/0.001279, allocations: 0.732 MB / 0.521 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.002426, allocations: 1.209 MB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.002463, allocations: 0 / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.002489, allocations: 3.938 kB / 0.5222 GB, free: 260 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.002547, allocations: 12.47 kB / 0.5222 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.002904, allocations: 133.6 kB / 0.5224 GB, free: 116 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.003032, allocations: 115.8 kB / 0.5225 GB, free: 0 / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.003129, allocations: 16.08 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.003233, allocations: 65.28 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.003315, allocations: 43.86 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.00334, allocations: 12 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.152e-05/0.003392, allocations: 16 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.003414, allocations: 17.45 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.003468, allocations: 43.83 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.003604, allocations: 87.75 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003606, allocations: 4 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.22e-07/0.003607, allocations: 0.9688 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.00361, allocations: 0 / 0.5228 GB, free: 15.7 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.0003878/0.003998, allocations: 427.1 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.004031, allocations: 8.031 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.00407, allocations: 13.89 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.149e-05/0.004142, allocations: 120.5 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.004159, allocations: 8.375 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.004177, allocations: 9.031 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.004285, allocations: 66.92 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.004293, allocations: 0.6875 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.004302, allocations: 1.406 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.004309, allocations: 4.375 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.686e-05/0.004346, allocations: 15.91 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.00469, allocations: 316.8 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.726e-05/0.004778, allocations: 47.72 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.004806, allocations: 17.19 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.004813, allocations: 0 / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.223e-05/0.004905, allocations: 81.03 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 7.61e-07/0.004906, allocations: 0 / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001883/0.005094, allocations: 103.5 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.005126, allocations: 51.41 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.00521, allocations: 181.8 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.005229, allocations: 33.7 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.005289, allocations: 140.6 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.005307, allocations: 19.83 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.005358, allocations: 43.36 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.005472, allocations: 0.4884 MB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.091e-05/0.005543, allocations: 57.69 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.005644, allocations: 116.8 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.005741, allocations: 117.5 kB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.005742, allocations: 0 / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002071/0.005949, allocations: 218.9 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.005977, allocations: 41.62 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005981, allocations: 0 / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.005991, allocations: 3.25 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.006058, allocations: 15.98 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.006063, allocations: 4 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/0.006148, allocations: 19.98 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.00616, allocations: 4 kB / 0.5255 GB, free: 12.67 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 7.056e-05/0.006231, allocations: 174.7 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.006242, allocations: 14.92 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.006268, allocations: 12.44 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.00627, allocations: 0 / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.006273, allocations: 0 / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006276, allocations: 0 / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.006567, allocations: 345.2 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006568, allocations: 0 / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.0066, allocations: 7.984 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.006603, allocations: 5.5 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.006611, allocations: 0 / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.006611, allocations: 0 / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006612, allocations: 0 / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.006729, allocations: 241.7 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.006735, allocations: 4 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.00675, allocations: 0 / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.713e-05/0.006787, allocations: 8 kB / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.006822, allocations: 9.266 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.006827, allocations: 3.938 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.006868, allocations: 137.8 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006868, allocations: 0.625 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001846/0.007053, allocations: 24 kB / 0.5264 GB, free: 11.64 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 9.896e-05/0.007152, allocations: 103.4 kB / 0.5265 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.007331, allocations: 167.2 kB / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007332, allocations: 0 / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.007371, allocations: 31.66 kB / 0.5267 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.007557, allocations: 22.36 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.007841, allocations: 170.6 kB / 0.5269 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.886e-05/0.00788, allocations: 63.34 kB / 0.5269 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.007902, allocations: 4 kB / 0.5269 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.007927, allocations: 14.31 kB / 0.5269 GB, free: 11 MB / 0.4948 GB Notification: Performance of SimCode: time 4.5e-07/0.007928, allocations: 0 / 0.5269 GB, free: 11 MB / 0.4948 GB Notification: Performance of Templates: time 0.003343/0.01127, allocations: 1.566 MB / 0.5285 GB, free: 9.527 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.7995456913486123]