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.002254/0.002254, allocations: 93.47 kB / 19.44 MB, free: 336 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.002978/0.002978, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.584/1.584, allocations: 177.1 MB / 203.1 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 178] 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 1.361/1.361, allocations: 154.6 MB / 414.1 MB, free: 0.6289 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 178] 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 2.064e-06/2.064e-06, allocations: 0 / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.179e-05/3.385e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001826/0.00186, allocations: 0.6061 MB / 0.5202 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.003586, allocations: 1.162 MB / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.003632, allocations: 0 / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.452e-05/0.003726, allocations: 0.9062 kB / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.085e-05/0.003757, allocations: 7.938 kB / 0.5213 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.004227, allocations: 116.9 kB / 0.5214 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.004397, allocations: 91.81 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.934e-05/0.004477, allocations: 8.547 kB / 0.5215 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.975e-05/0.004577, allocations: 44.47 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.004686, allocations: 36.91 kB / 0.5216 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.004716, allocations: 8 kB / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-05/0.004785, allocations: 15.94 kB / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.004842, allocations: 13.2 kB / 0.5217 GB, free: 468 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.004909, allocations: 27.92 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.005123, allocations: 99.81 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.005125, allocations: 1.781 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005126, allocations: 0 / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005131, allocations: 3.938 kB / 0.5218 GB, free: 336 kB / 490.7 MB 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.0006473/0.005778, allocations: 413.9 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.005824, allocations: 8.031 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.005887, allocations: 14.75 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.00611, allocations: 120.6 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.006126, allocations: 4.375 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.006148, allocations: 8.359 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.006255, allocations: 50.17 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.006263, allocations: 1.844 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.006276, allocations: 8.375 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.00628, allocations: 384 / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.006312, allocations: 11.88 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.006716, allocations: 288.6 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.682e-05/0.006793, allocations: 31.06 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/0.006814, allocations: 13.16 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.006823, allocations: 0 / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003753/0.007199, allocations: 72.92 kB / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.007199, allocations: 1.344 kB / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000212/0.007411, allocations: 65.64 kB / 0.5228 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.007464, allocations: 51.41 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.007621, allocations: 177.9 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.007649, allocations: 26.86 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.855e-05/0.007747, allocations: 138.8 kB / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-06/0.007757, allocations: 4 kB / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.183e-05/0.007839, allocations: 46.08 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002755/0.008115, allocations: 496.1 kB / 0.5237 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.008231, allocations: 69.67 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.008358, allocations: 92.75 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.008491, allocations: 92.75 kB / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.008493, allocations: 0 / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003265/0.00882, allocations: 205.9 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.008867, allocations: 35.92 kB / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.008872, allocations: 0 / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.008889, allocations: 0 / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.159e-05/0.008921, allocations: 5.625 kB / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.008929, allocations: 3.984 kB / 0.5242 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.009112, allocations: 23.92 kB / 0.5242 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.009136, allocations: 5.031 kB / 0.5243 GB, free: 13.54 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 0.0001414/0.009277, allocations: 160.6 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.009299, allocations: 16.81 kB / 0.5244 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.009328, allocations: 8 kB / 0.5244 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.009329, allocations: 0 / 0.5244 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.009332, allocations: 3.156 kB / 0.5244 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009335, allocations: 3.938 kB / 0.5244 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.009481, allocations: 124.6 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.009482, allocations: 0 / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-06/0.009488, allocations: 0 / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.009493, allocations: 4.172 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.009503, allocations: 4 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.009506, allocations: 3.938 kB / 0.5246 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.009507, allocations: 2.781 kB / 0.5246 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.009659, allocations: 96.41 kB / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.009666, allocations: 0 / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.009687, allocations: 7.938 kB / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.317e-05/0.0097, allocations: 0 / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.009738, allocations: 4 kB / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.009748, allocations: 8.297 kB / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001008/0.009848, allocations: 127.2 kB / 0.5248 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009849, allocations: 1.312 kB / 0.5248 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002085/0.01006, allocations: 23.95 kB / 0.5248 GB, free: 12.89 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 0.0001904/0.01025, allocations: 99.73 kB / 0.5249 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.01053, allocations: 170.7 kB / 0.5251 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01054, allocations: 0 / 0.5251 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.01058, allocations: 19.67 kB / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.01079, allocations: 13.94 kB / 0.5251 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.01111, allocations: 142 kB / 0.5253 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.397e-05/0.01119, allocations: 67.3 kB / 0.5253 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.58e-05/0.0112, allocations: 0 / 0.5253 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.01123, allocations: 16.5 kB / 0.5253 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.01123, allocations: 2.25 kB / 0.5253 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.004402/0.01563, allocations: 1.159 MB / 0.5265 GB, free: 11.21 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: 6.126473142998293]