Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.0009299/0.0009299, allocations: 82.05 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001028/0.001028, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9105/0.9105, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.7269/0.7269, allocations: 154.6 MB / 414.8 MB, free: 0.543 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.5207 GB, free: 1.902 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.414e-05, allocations: 5.156 kB / 0.5207 GB, free: 1.898 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001333/0.001367, allocations: 0.5787 MB / 0.5213 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.002595, allocations: 1.169 MB / 0.5224 GB, free: 164 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.002643, allocations: 0 / 0.5224 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.002673, allocations: 0.9062 kB / 0.5224 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.226e-05/0.002745, allocations: 3.984 kB / 0.5224 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.003146, allocations: 124.5 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.003282, allocations: 85.58 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.208e-05/0.003354, allocations: 4 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.721e-05/0.003441, allocations: 51.94 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.21e-05/0.003523, allocations: 23.91 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.003542, allocations: 8.562 kB / 0.5227 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.003869, allocations: 27.92 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.00389, allocations: 4.484 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.003923, allocations: 24.95 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.004042, allocations: 79.77 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004045, allocations: 0 / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.61e-07/0.004045, allocations: 0.8438 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.004049, allocations: 0 / 0.5229 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003434/0.004392, allocations: 398.9 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.004429, allocations: 12.03 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.004459, allocations: 6.031 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.802e-05/0.004527, allocations: 112.6 kB / 0.5234 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.004537, allocations: 1.094 kB / 0.5234 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.004549, allocations: 8.359 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.431e-05/0.004614, allocations: 65.56 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.00462, allocations: 4.188 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.004626, allocations: 384 / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.004631, allocations: 384 / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.104e-05/0.004642, allocations: 9.547 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.004863, allocations: 264.4 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.307e-05/0.004896, allocations: 27 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.00491, allocations: 11.75 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-06/0.004914, allocations: 0.75 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.577e-05/0.005, allocations: 94.73 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.005001, allocations: 1.219 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001293/0.00513, allocations: 57.56 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.005156, allocations: 51.41 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.769e-05/0.005224, allocations: 175.2 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.005238, allocations: 25.7 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.005286, allocations: 138.8 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-06/0.005292, allocations: 2.281 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.005336, allocations: 39.34 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.005433, allocations: 496.1 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.005477, allocations: 45.69 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-05/0.005528, allocations: 88.66 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.8e-05/0.005586, allocations: 82.41 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005588, allocations: 0 / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001448/0.005732, allocations: 165 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.005761, allocations: 38.88 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.005765, allocations: 0.9062 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.005778, allocations: 7.938 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.369e-05/0.005791, allocations: 0 / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.005794, allocations: 1.094 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.0059, allocations: 15.98 kB / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.005914, allocations: 16.86 kB / 0.5252 GB, free: 13.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 6.674e-05/0.00598, allocations: 161.7 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-06/0.005989, allocations: 3.938 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.006009, allocations: 8 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.006013, allocations: 4.438 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.006015, allocations: 0 / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.006019, allocations: 6.859 kB / 0.5254 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.225e-05/0.006081, allocations: 101.2 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006082, allocations: 0 / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.006088, allocations: 4 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.006089, allocations: 0 / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-06/0.006093, allocations: 0 / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.006094, allocations: 3.984 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006095, allocations: 0 / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.782e-05/0.006173, allocations: 95.36 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.006178, allocations: 288 / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-06/0.006186, allocations: 0 / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-06/0.006194, allocations: 4 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.006216, allocations: 11.91 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.006219, allocations: 4.25 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.006251, allocations: 127.2 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006251, allocations: 0 / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001383/0.00639, allocations: 21.5 kB / 0.5257 GB, free: 12.46 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.663e-05/0.006486, allocations: 99.23 kB / 0.5258 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.006612, allocations: 131.8 kB / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.006614, allocations: 3.938 kB / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.006632, allocations: 23.61 kB / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.006777, allocations: 15.97 kB / 0.526 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.006964, allocations: 126.2 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.595e-05/0.006989, allocations: 57.8 kB / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.388e-05/0.007003, allocations: 0 / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.007074, allocations: 94.17 kB / 0.5263 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.007075, allocations: 0 / 0.5263 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.002576/0.009651, allocations: 1.297 MB / 0.5275 GB, free: 10.62 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.490881904028356]