Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008602/0.0008602, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.002085, 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.0008886/0.0008886, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.002123, 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 1/1, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1211/1.121, 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/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.8237/0.8237, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3335/1.157, allocations: 49.04 MB / 447.8 MB, free: 6.598 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/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_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_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 449.1 MB, free: 5.301 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.476e-05, allocations: 4.984 kB / 449.1 MB, free: 5.297 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002334/0.002359, allocations: 0.7096 MB / 449.8 MB, free: 4.633 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.003442, allocations: 0.8801 MB / 450.7 MB, free: 3.742 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.003494, allocations: 0 / 450.7 MB, free: 3.742 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.978e-05/0.003564, allocations: 0.6562 kB / 450.7 MB, free: 3.742 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.068e-05/0.003595, allocations: 13.78 kB / 450.7 MB, free: 3.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.00371, allocations: 20.64 kB / 450.8 MB, free: 3.711 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.003806, allocations: 30.7 kB / 450.8 MB, free: 3.688 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.00391, allocations: 11.98 kB / 450.8 MB, free: 3.676 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.004015, allocations: 25.66 kB / 450.8 MB, free: 3.652 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.064e-05/0.004096, allocations: 13.19 kB / 450.8 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.004123, allocations: 4.656 kB / 450.8 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.00414, allocations: 4.5 kB / 450.9 MB, free: 3.633 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.004203, allocations: 5.531 kB / 450.9 MB, free: 3.629 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.004233, allocations: 11.34 kB / 450.9 MB, free: 3.621 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.004335, allocations: 22.5 kB / 450.9 MB, free: 3.602 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.429e-05/0.00435, allocations: 0 / 450.9 MB, free: 3.602 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004351, allocations: 0.75 kB / 450.9 MB, free: 3.602 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.004368, allocations: 0 / 450.9 MB, free: 3.602 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.0004885/0.004857, allocations: 251.9 kB / 451.1 MB, free: 3.328 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.004901, allocations: 14.09 kB / 451.2 MB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.004945, allocations: 0.9375 kB / 451.2 MB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.005105, allocations: 118.4 kB / 451.3 MB, free: 3.176 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.005129, allocations: 4.375 kB / 451.3 MB, free: 3.172 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.005144, allocations: 8.312 kB / 451.3 MB, free: 3.164 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.005308, allocations: 66.91 kB / 451.3 MB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.005318, allocations: 192 / 451.3 MB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.005326, allocations: 2.125 kB / 451.3 MB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.005333, allocations: 1.578 kB / 451.3 MB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.005369, allocations: 15.92 kB / 451.4 MB, free: 3.078 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.005656, allocations: 167 kB / 451.5 MB, free: 2.898 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.18e-05/0.005718, allocations: 23.44 kB / 451.6 MB, free: 2.867 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.005739, allocations: 10.02 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.005752, allocations: 0 / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.005777, allocations: 30.56 kB / 451.6 MB, free: 2.816 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.005778, allocations: 0.8438 kB / 451.6 MB, free: 2.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.000142/0.00592, allocations: 55.41 kB / 451.6 MB, free: 2.758 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.005953, allocations: 51.41 kB / 451.7 MB, free: 2.695 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.00603, allocations: 102.8 kB / 451.8 MB, free: 2.582 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.006043, allocations: 30.36 kB / 451.8 MB, free: 2.547 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.006091, allocations: 92.83 kB / 451.9 MB, free: 2.453 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.006107, allocations: 1.312 kB / 451.9 MB, free: 2.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.006147, allocations: 17.72 kB / 451.9 MB, free: 2.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.006255, allocations: 318.8 kB / 452.2 MB, free: 2.109 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.006268, allocations: 0.7656 kB / 452.2 MB, free: 2.109 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.00628, allocations: 5.375 kB / 452.3 MB, free: 2.105 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.364e-05/0.006324, allocations: 15.67 kB / 452.3 MB, free: 2.086 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.006326, allocations: 1.062 kB / 452.3 MB, free: 2.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.349e-05/0.0064, allocations: 41.62 kB / 452.3 MB, free: 2.039 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.006418, allocations: 12.47 kB / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.006424, allocations: 0.9375 kB / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.006439, allocations: 0.9844 kB / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/0.006533, allocations: 8.578 kB / 452.3 MB, free: 2.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.006536, allocations: 0 / 452.3 MB, free: 2.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.006565, allocations: 5.438 kB / 452.3 MB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.00657, allocations: 0 / 452.3 MB, free: 2.016 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.585e-05/0.006656, allocations: 112.7 kB / 452.4 MB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.00668, allocations: 4.766 kB / 452.5 MB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.006706, allocations: 11.25 kB / 452.5 MB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006708, allocations: 1.438 kB / 452.5 MB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.006711, allocations: 4.906 kB / 452.5 MB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.006715, allocations: 0 / 452.5 MB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.006841, allocations: 73.84 kB / 452.5 MB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.006843, allocations: 0.8438 kB / 452.5 MB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.006901, allocations: 8 kB / 452.5 MB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-06/0.006909, allocations: 0.5 kB / 452.5 MB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.006912, allocations: 1.547 kB / 452.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.006918, allocations: 7.875 kB / 452.6 MB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.006921, allocations: 3.984 kB / 452.6 MB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.006923, allocations: 4.625 kB / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.00704, allocations: 130.5 kB / 452.7 MB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.007052, allocations: 4.75 kB / 452.7 MB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.228e-05/0.007114, allocations: 4 kB / 452.7 MB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.007157, allocations: 11.92 kB / 452.7 MB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.007163, allocations: 4.609 kB / 452.7 MB, free: 1.598 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.578e-05/0.007179, allocations: 8.859 kB / 452.7 MB, free: 1.586 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007179, allocations: 0 / 452.7 MB, free: 1.586 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.007384, allocations: 8.781 kB / 452.7 MB, free: 1.578 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.000127/0.007511, allocations: 81.75 kB / 452.8 MB, free: 1.488 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.914e-05/0.00759, allocations: 22.31 kB / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.007596, allocations: 0 / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.274e-05/0.007629, allocations: 10.94 kB / 452.8 MB, free: 1.453 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.007843, allocations: 41.67 kB / 452.9 MB, free: 1.406 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.008338, allocations: 128.9 kB / 453 MB, free: 1.258 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.008392, allocations: 59.97 kB / 453.1 MB, free: 1.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.526e-05/0.008427, allocations: 5.797 kB / 453.1 MB, free: 1.176 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.008497, allocations: 51.38 kB / 453.1 MB, free: 1.125 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/0.008498, allocations: 0.625 kB / 453.1 MB, free: 1.125 MB / 426.7 MB Notification: Performance of Templates: time 0.002896/0.01139, allocations: 0.67 MB / 453.8 MB, free: 496 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.554858909919858]