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.001345/0.001345, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001574/0.001574, allocations: 165.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.427/1.427, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198: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 master/package.mo): time 1.234/1.234, allocations: 154.5 MB / 413.7 MB, free: 5.32 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.244e-06/2.244e-06, allocations: 3.938 kB / 0.6185 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.262e-05, allocations: 4.812 kB / 0.6185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001787/0.001819, allocations: 0.6411 MB / 0.6191 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003023, allocations: 0.8553 MB / 0.62 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.003074, allocations: 0.5312 kB / 0.62 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.003175, allocations: 7.922 kB / 0.62 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.025e-05/0.003195, allocations: 4 kB / 0.62 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.003357, allocations: 19.92 kB / 0.62 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.761e-05/0.003444, allocations: 31.92 kB / 0.62 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.003555, allocations: 11.92 kB / 0.6201 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.003622, allocations: 15.98 kB / 0.6201 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.003683, allocations: 11.98 kB / 0.6201 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.003715, allocations: 4 kB / 0.6201 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.003728, allocations: 4 kB / 0.6201 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.003794, allocations: 15.92 kB / 0.6201 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.003825, allocations: 7.984 kB / 0.6201 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003933, allocations: 47.81 kB / 0.6202 GB, free: 3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.003937, allocations: 0 / 0.6202 GB, free: 3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003937, allocations: 0 / 0.6202 GB, free: 3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.003949, allocations: 0 / 0.6202 GB, free: 3 MB / 0.5294 GB 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.0005263/0.004476, allocations: 278.2 kB / 0.6204 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.004521, allocations: 13.47 kB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.004555, allocations: 4.922 kB / 0.6204 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.004735, allocations: 117.7 kB / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.004752, allocations: 4.375 kB / 0.6206 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.004769, allocations: 384 / 0.6206 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.004989, allocations: 78.2 kB / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.005, allocations: 192 / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.005009, allocations: 384 / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.005014, allocations: 384 / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.005233, allocations: 47.89 kB / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.005599, allocations: 216.5 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.005762, allocations: 46.55 kB / 0.6209 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.005866, allocations: 24.91 kB / 0.6209 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.00588, allocations: 3.938 kB / 0.621 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.005906, allocations: 34.5 kB / 0.621 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.005907, allocations: 0 / 0.621 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004192/0.006326, allocations: 97.52 kB / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.006371, allocations: 51.53 kB / 0.6211 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.006462, allocations: 105.9 kB / 0.6212 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.006482, allocations: 25.7 kB / 0.6213 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.006547, allocations: 92.06 kB / 0.6213 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.006563, allocations: 7.891 kB / 0.6213 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.0066, allocations: 17.72 kB / 0.6214 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.006745, allocations: 314.8 kB / 0.6217 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.804e-05/0.006843, allocations: 19.97 kB / 0.6217 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.655e-05/0.00693, allocations: 15.98 kB / 0.6217 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.007114, allocations: 52.81 kB / 0.6218 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.007116, allocations: 0 / 0.6218 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002306/0.007347, allocations: 69.59 kB / 0.6218 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.007364, allocations: 8 kB / 0.6218 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.007368, allocations: 0 / 0.6218 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.007386, allocations: 0 / 0.6218 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.007488, allocations: 12.02 kB / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.007492, allocations: 4 kB / 0.6218 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.128e-05/0.007553, allocations: 11.94 kB / 0.6219 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.007559, allocations: 0 / 0.6219 GB, free: 1.086 MB / 0.5294 GB 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 0.0001359/0.007695, allocations: 114.8 kB / 0.622 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.007721, allocations: 3.938 kB / 0.622 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.007745, allocations: 7.266 kB / 0.622 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.007747, allocations: 0 / 0.622 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.00775, allocations: 0 / 0.622 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.007753, allocations: 4 kB / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.007893, allocations: 109.3 kB / 0.6221 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.007896, allocations: 7.922 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.431e-05/0.00797, allocations: 12 kB / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.007976, allocations: 3.938 kB / 0.6221 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.007982, allocations: 0 / 0.6221 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.007986, allocations: 4.234 kB / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.00799, allocations: 4 kB / 0.6221 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.008268, allocations: 159.5 kB / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.008278, allocations: 7.984 kB / 0.6223 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.008292, allocations: 11.88 kB / 0.6223 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.008381, allocations: 11.98 kB / 0.6223 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.008428, allocations: 0 / 0.6223 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.008435, allocations: 3.984 kB / 0.6223 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.008482, allocations: 83.28 kB / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008482, allocations: 7.938 kB / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002207/0.008703, allocations: 4 kB / 0.6224 GB, free: 488 kB / 0.5294 GB 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.0001185/0.008821, allocations: 99.19 kB / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002561/0.009077, allocations: 43.95 kB / 0.6225 GB, free: 332 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.009079, allocations: 0 / 0.6225 GB, free: 332 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.009185, allocations: 27.97 kB / 0.6226 GB, free: 304 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.009427, allocations: 3.984 kB / 0.6226 GB, free: 300 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.009756, allocations: 124.7 kB / 0.6227 GB, free: 148 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.661e-05/0.009822, allocations: 67.47 kB / 0.6227 GB, free: 60 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.009855, allocations: 3.984 kB / 0.6227 GB, free: 56 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.009891, allocations: 16.44 kB / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.009891, allocations: 0 / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of Templates: time 0.003252/0.01314, allocations: 0.6448 MB / 0.6234 GB, free: 15.41 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.832588855177164] Failed to read output from testmodel.py, exit status != 0: 0.021866273134946823 0.036585682 0.029601572000000003 Calling exit ...