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.001047/0.001047, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001209/0.001209, allocations: 181 kB / 23.36 MB, free: 1.129 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-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 master/package.mo): time 0.7633/0.7633, allocations: 154.9 MB / 415.1 MB, free: 268 kB / 378.7 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 179] 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.444e-06/2.444e-06, allocations: 0.5469 kB / 480.3 MB, free: 6.562 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.389e-05, allocations: 2.312 kB / 480.3 MB, free: 6.559 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001741/0.001765, allocations: 0.6672 MB / 481 MB, free: 5.926 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.002785, allocations: 0.8777 MB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.002828, allocations: 0.8438 kB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.747e-05/0.002926, allocations: 7.922 kB / 481.9 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.524e-05/0.002951, allocations: 6.453 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.003096, allocations: 15.92 kB / 481.9 MB, free: 5.012 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.003166, allocations: 37.34 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.635e-05/0.003242, allocations: 9.078 kB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.313e-05/0.003306, allocations: 17.62 kB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.003358, allocations: 10.83 kB / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.003378, allocations: 4.766 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.003387, allocations: 4 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.003436, allocations: 17.5 kB / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.003462, allocations: 12.86 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.629e-05/0.003538, allocations: 27.2 kB / 482.1 MB, free: 4.891 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.00354, allocations: 0.625 kB / 482.1 MB, free: 4.891 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00354, allocations: 0 / 482.1 MB, free: 4.891 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.003544, allocations: 5.062 kB / 482.1 MB, free: 4.887 MB / 442.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.0005052/0.004049, allocations: 241.6 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.004083, allocations: 13.19 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.269e-05/0.004106, allocations: 4.875 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.492e-05/0.004201, allocations: 119 kB / 482.4 MB, free: 4.473 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.004215, allocations: 4.375 kB / 482.4 MB, free: 4.469 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.004225, allocations: 5.094 kB / 482.4 MB, free: 4.465 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.004329, allocations: 64.38 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.004335, allocations: 192 / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.004342, allocations: 384 / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.004347, allocations: 384 / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.438e-05/0.004371, allocations: 17.75 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.004558, allocations: 172.6 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.909e-05/0.004597, allocations: 22.56 kB / 482.7 MB, free: 4.164 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.004613, allocations: 9.469 kB / 482.7 MB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.004623, allocations: 0.6875 kB / 482.7 MB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.004643, allocations: 38.5 kB / 482.8 MB, free: 4.105 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.004644, allocations: 1.062 kB / 482.8 MB, free: 4.105 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.798e-05/0.004742, allocations: 46.25 kB / 482.8 MB, free: 4.055 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.00477, allocations: 52.28 kB / 482.9 MB, free: 3.992 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.004824, allocations: 104.9 kB / 483 MB, free: 3.879 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.004833, allocations: 29.7 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.004863, allocations: 89.28 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.004875, allocations: 0 / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.0049, allocations: 21.7 kB / 483.1 MB, free: 3.727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.004967, allocations: 318.8 kB / 483.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.004976, allocations: 5.453 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/0.004984, allocations: 4 kB / 483.4 MB, free: 3.398 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.00501, allocations: 16.25 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005012, allocations: 0 / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.164e-05/0.005054, allocations: 39.8 kB / 483.5 MB, free: 3.332 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.005065, allocations: 11.94 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.005069, allocations: 256 / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.005079, allocations: 0.625 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/0.005138, allocations: 12.61 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.00514, allocations: 0 / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.005159, allocations: 8.578 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.005162, allocations: 0.9844 kB / 483.5 MB, free: 3.301 MB / 442.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 5.453e-05/0.005217, allocations: 113.9 kB / 483.6 MB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.005229, allocations: 3.938 kB / 483.6 MB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.005247, allocations: 19.05 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.005249, allocations: 3.984 kB / 483.6 MB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.005251, allocations: 0.625 kB / 483.6 MB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005254, allocations: 4.938 kB / 483.6 MB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.438e-05/0.005328, allocations: 65.89 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005329, allocations: 0 / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.808e-05/0.005347, allocations: 10.55 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005348, allocations: 0 / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-06/0.005352, allocations: 4 kB / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.8e-07/0.005352, allocations: 0 / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.005354, allocations: 4.844 kB / 483.7 MB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.323e-05/0.005417, allocations: 127.5 kB / 483.9 MB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-06/0.005423, allocations: 5 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-06/0.00543, allocations: 0 / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.038e-05/0.005461, allocations: 9.297 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.005493, allocations: 11.86 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.005495, allocations: 1.312 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.025e-05/0.005505, allocations: 12.84 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005505, allocations: 0 / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001137/0.005619, allocations: 12.66 kB / 483.9 MB, free: 2.867 MB / 442.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 6.269e-05/0.005681, allocations: 73.64 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.329e-05/0.005735, allocations: 13.62 kB / 484 MB, free: 2.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.005737, allocations: 1.625 kB / 484 MB, free: 2.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.74e-05/0.005754, allocations: 16.84 kB / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.005866, allocations: 7.938 kB / 484 MB, free: 2.742 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.006066, allocations: 133.7 kB / 484.1 MB, free: 2.586 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.863e-05/0.006095, allocations: 55.34 kB / 484.2 MB, free: 2.512 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.932e-05/0.006114, allocations: 7.297 kB / 484.2 MB, free: 2.508 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.006154, allocations: 51.38 kB / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006154, allocations: 0 / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of Templates: time 0.001891/0.008045, allocations: 0.6376 MB / 484.9 MB, free: 1.855 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.6839759931899607]