Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001387/0.001387, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001551/0.001551, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9408/0.9408, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.7922/0.7922, allocations: 154.6 MB / 415.6 MB, free: 0.5469 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.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.5215 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.125e-05, allocations: 3.281 kB / 0.5215 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001607/0.001628, allocations: 0.5986 MB / 0.5221 GB, free: 1.332 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.003038, allocations: 1.173 MB / 0.5233 GB, free: 152 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.003088, allocations: 0 / 0.5233 GB, free: 152 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.003189, allocations: 5.5 kB / 0.5233 GB, free: 148 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.001e-05/0.003219, allocations: 16.14 kB / 0.5233 GB, free: 132 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.003633, allocations: 120.3 kB / 0.5234 GB, free: 12 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.0038, allocations: 87.83 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.461e-05/0.003875, allocations: 9.453 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/0.003958, allocations: 43.97 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.004061, allocations: 27.94 kB / 0.5236 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.004083, allocations: 8 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.309e-05/0.004146, allocations: 29.27 kB / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.004195, allocations: 4 kB / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.004243, allocations: 23.98 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.004388, allocations: 87.69 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004391, allocations: 0.875 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004391, allocations: 4 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.004395, allocations: 3.031 kB / 0.5237 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003485/0.004744, allocations: 406.3 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.004773, allocations: 8.031 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.004807, allocations: 8.938 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.004916, allocations: 120.6 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.004926, allocations: 4.375 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.004939, allocations: 4.375 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.67e-05/0.004996, allocations: 46.19 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.005002, allocations: 0.75 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-06/0.005006, allocations: 0.9375 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.005012, allocations: 4.359 kB / 0.5243 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.071e-05/0.005023, allocations: 8.688 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.005218, allocations: 269 kB / 0.5246 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.286e-05/0.005251, allocations: 34.98 kB / 0.5246 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.147e-06/0.00526, allocations: 13.14 kB / 0.5246 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-06/0.005263, allocations: 4.062 kB / 0.5246 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.42e-05/0.005328, allocations: 60.98 kB / 0.5247 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.005328, allocations: 4.875 kB / 0.5247 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001255/0.005454, allocations: 61.58 kB / 0.5247 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.005483, allocations: 55.41 kB / 0.5248 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/0.00555, allocations: 175.2 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.005565, allocations: 29.7 kB / 0.525 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.005609, allocations: 134.8 kB / 0.5251 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-06/0.005616, allocations: 5.109 kB / 0.5251 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.005658, allocations: 43.33 kB / 0.5252 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.005758, allocations: 496.1 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.256e-05/0.005801, allocations: 46.5 kB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-05/0.005851, allocations: 84.72 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.005909, allocations: 81.97 kB / 0.5258 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.00591, allocations: 0 / 0.5258 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001379/0.006048, allocations: 162.3 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.006075, allocations: 43.34 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.006079, allocations: 0 / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/0.006086, allocations: 2.906 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-05/0.006097, allocations: 4 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.006099, allocations: 0 / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.455e-05/0.006194, allocations: 19.98 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.006207, allocations: 7.984 kB / 0.5261 GB, free: 13.04 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.114e-05/0.006268, allocations: 160.6 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-06/0.006275, allocations: 14.58 kB / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.583e-05/0.006291, allocations: 8 kB / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.006293, allocations: 0 / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.006294, allocations: 0 / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.006296, allocations: 0 / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.477e-05/0.006361, allocations: 105.2 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006362, allocations: 0 / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-06/0.006365, allocations: 4 kB / 0.5263 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.006366, allocations: 0.625 kB / 0.5263 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-06/0.00637, allocations: 1.531 kB / 0.5263 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.006371, allocations: 3.938 kB / 0.5263 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.006373, allocations: 4 kB / 0.5263 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.205e-05/0.006435, allocations: 89.08 kB / 0.5264 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-06/0.00644, allocations: 0 / 0.5264 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-06/0.006447, allocations: 4.438 kB / 0.5264 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-06/0.006455, allocations: 3.938 kB / 0.5264 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.006472, allocations: 13.17 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.006474, allocations: 0 / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.006508, allocations: 128.9 kB / 0.5266 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006508, allocations: 0 / 0.5266 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001348/0.006643, allocations: 19.95 kB / 0.5266 GB, free: 12.44 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 8.487e-05/0.006728, allocations: 109.6 kB / 0.5267 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.006845, allocations: 132.8 kB / 0.5268 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006846, allocations: 4 kB / 0.5268 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.006862, allocations: 19.61 kB / 0.5268 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.006988, allocations: 10.53 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001753/0.007163, allocations: 134.1 kB / 0.527 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.25e-05/0.007185, allocations: 51.36 kB / 0.527 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.333e-05/0.007199, allocations: 4 kB / 0.527 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.007267, allocations: 90.17 kB / 0.5271 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.007267, allocations: 0 / 0.5271 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.00241/0.009678, allocations: 1.299 MB / 0.5284 GB, free: 10.6 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.685993750113994]