Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.0006791/0.0006791, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009135/0.001593, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006707/0.0006707, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009286/0.001599, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9239/0.9239, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09155/1.016, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8533/0.8533, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2947/1.148, allocations: 49.13 MB / 448.6 MB, free: 5.922 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 449.9 MB, free: 4.637 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/3.016e-05, allocations: 9.812 kB / 449.9 MB, free: 4.629 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00244/0.00247, allocations: 0.7101 MB / 450.6 MB, free: 3.953 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003662, allocations: 0.8777 MB / 451.5 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.003724, allocations: 0 / 451.5 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.334e-05/0.003807, allocations: 8.688 kB / 451.5 MB, free: 3.055 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.557e-05/0.003843, allocations: 9.984 kB / 451.5 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.003979, allocations: 19.86 kB / 451.6 MB, free: 3.027 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.004087, allocations: 34.66 kB / 451.6 MB, free: 3 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.004192, allocations: 5.094 kB / 451.6 MB, free: 2.996 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.004314, allocations: 29.81 kB / 451.6 MB, free: 2.973 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.033e-05/0.004404, allocations: 13.08 kB / 451.6 MB, free: 2.961 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.004432, allocations: 4 kB / 451.6 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.004447, allocations: 4.562 kB / 451.6 MB, free: 2.953 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.004514, allocations: 10.36 kB / 451.7 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.004545, allocations: 9.531 kB / 451.7 MB, free: 2.938 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.004653, allocations: 24.7 kB / 451.7 MB, free: 2.918 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-05/0.004666, allocations: 0 / 451.7 MB, free: 2.918 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004667, allocations: 0 / 451.7 MB, free: 2.918 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.004677, allocations: 0 / 451.7 MB, free: 2.918 MB / 426.7 MB 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.0004347/0.005112, allocations: 253.2 kB / 451.9 MB, free: 2.648 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.005155, allocations: 12.03 kB / 451.9 MB, free: 2.637 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.005199, allocations: 8.938 kB / 452 MB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.005362, allocations: 118.8 kB / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.005387, allocations: 384 / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.005403, allocations: 4.375 kB / 452.1 MB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.005594, allocations: 65.06 kB / 452.1 MB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.005604, allocations: 192 / 452.1 MB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.005616, allocations: 2.109 kB / 452.1 MB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.005624, allocations: 384 / 452.1 MB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.155e-05/0.005666, allocations: 11.94 kB / 452.2 MB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.005989, allocations: 175.7 kB / 452.3 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.789e-05/0.006057, allocations: 21.31 kB / 452.3 MB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.00608, allocations: 8.922 kB / 452.4 MB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.006093, allocations: 0 / 452.4 MB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.006121, allocations: 34.55 kB / 452.4 MB, free: 2.133 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.006122, allocations: 4.844 kB / 452.4 MB, free: 2.129 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001451/0.006267, allocations: 42.2 kB / 452.4 MB, free: 2.082 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.006306, allocations: 51.41 kB / 452.5 MB, free: 2.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.006393, allocations: 116.9 kB / 452.6 MB, free: 1.895 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.006406, allocations: 25.7 kB / 452.6 MB, free: 1.863 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.006449, allocations: 89.28 kB / 452.7 MB, free: 1.773 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.006464, allocations: 0 / 452.7 MB, free: 1.773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.006499, allocations: 19.8 kB / 452.7 MB, free: 1.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.006598, allocations: 318.8 kB / 453 MB, free: 1.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.006614, allocations: 0 / 453 MB, free: 1.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/0.006626, allocations: 4 kB / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.286e-05/0.006669, allocations: 20.52 kB / 453.1 MB, free: 1.402 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.006671, allocations: 0.6562 kB / 453.1 MB, free: 1.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.075e-05/0.006742, allocations: 42.69 kB / 453.1 MB, free: 1.355 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.006758, allocations: 11.94 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006763, allocations: 0.875 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.006776, allocations: 0 / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/0.006872, allocations: 4 kB / 453.1 MB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.006875, allocations: 1.266 kB / 453.1 MB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.486e-05/0.0069, allocations: 8.484 kB / 453.1 MB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.006904, allocations: 0.9062 kB / 453.1 MB, free: 1.332 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.586e-05/0.00699, allocations: 112.7 kB / 453.2 MB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.007013, allocations: 1 kB / 453.2 MB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.007038, allocations: 7.25 kB / 453.3 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.007042, allocations: 5.562 kB / 453.3 MB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007043, allocations: 0.6562 kB / 453.3 MB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.007046, allocations: 5.25 kB / 453.3 MB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.007171, allocations: 74.09 kB / 453.3 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007172, allocations: 0 / 453.3 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.97e-05/0.007232, allocations: 16.48 kB / 453.4 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-06/0.00724, allocations: 0 / 453.4 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.007242, allocations: 2.25 kB / 453.4 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.007249, allocations: 3.938 kB / 453.4 MB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.00725, allocations: 4 kB / 453.4 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007251, allocations: 1.062 kB / 453.4 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.007365, allocations: 131.5 kB / 453.5 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.007375, allocations: 0.7188 kB / 453.5 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/0.007441, allocations: 5.172 kB / 453.5 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.007485, allocations: 16.83 kB / 453.5 MB, free: 0.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.00749, allocations: 0.9844 kB / 453.5 MB, free: 0.918 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.929e-05/0.007509, allocations: 12.84 kB / 453.5 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007509, allocations: 0.5938 kB / 453.5 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.007713, allocations: 13.31 kB / 453.5 MB, free: 0.8906 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001089/0.007822, allocations: 77.8 kB / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.147e-05/0.007903, allocations: 14.19 kB / 453.6 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.007909, allocations: 1.438 kB / 453.6 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.273e-05/0.007942, allocations: 17.5 kB / 453.6 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.008162, allocations: 38.48 kB / 453.7 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.008635, allocations: 137.4 kB / 453.8 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.228e-05/0.008677, allocations: 55.22 kB / 453.9 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.045e-05/0.008708, allocations: 5.562 kB / 453.9 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.008769, allocations: 55.36 kB / 453.9 MB, free: 448 kB / 426.7 MB Notification: Performance of SimCode: time 9.41e-07/0.00877, allocations: 1.188 kB / 453.9 MB, free: 448 kB / 426.7 MB Notification: Performance of Templates: time 0.002966/0.01174, allocations: 0.6676 MB / 454.6 MB, free: 15.8 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5609384952113032]