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.001349/0.001349, allocations: 75.56 kB / 19.16 MB, free: 2.57 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.001472/0.001472, allocations: 170.3 kB / 22.43 MB, free: 5.316 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.401/1.401, allocations: 177.2 MB / 202.8 MB, free: 9.199 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.182/1.182, allocations: 155 MB / 414.2 MB, free: 4.938 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003345/0.003345, allocations: 66.56 kB / 0.6191 GB, free: 4.129 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5845/0.5879, allocations: 102 MB / 0.7187 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002004/0.5899, allocations: 0.657 MB / 0.7194 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009791/0.5908, allocations: 0.8506 MB / 0.7202 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/0.5909, allocations: 0 / 0.7202 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.591, allocations: 6.547 kB / 0.7202 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.431e-05/0.591, allocations: 11.94 kB / 0.7202 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.5912, allocations: 17.86 kB / 0.7202 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.845e-05/0.5913, allocations: 36.77 kB / 0.7203 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.5914, allocations: 5.172 kB / 0.7203 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.668e-05/0.5915, allocations: 22.52 kB / 0.7203 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.5916, allocations: 17.22 kB / 0.7203 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.5916, allocations: 2.344 kB / 0.7203 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.5916, allocations: 2.469 kB / 0.7203 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.5917, allocations: 10.69 kB / 0.7203 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.5917, allocations: 12.19 kB / 0.7203 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.5918, allocations: 43.69 kB / 0.7204 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5918, allocations: 9.031 kB / 0.7204 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5918, allocations: 0.5156 kB / 0.7204 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.5918, allocations: 0 / 0.7204 GB, free: 0.6016 MB / 0.6075 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.0004445/0.5923, allocations: 277.9 kB / 0.7207 GB, free: 332 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.5923, allocations: 11.22 kB / 0.7207 GB, free: 332 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.5923, allocations: 2.344 kB / 0.7207 GB, free: 332 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.5925, allocations: 114.9 kB / 0.7208 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.5925, allocations: 9.578 kB / 0.7208 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.5925, allocations: 2.844 kB / 0.7208 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.5927, allocations: 66.73 kB / 0.7209 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5927, allocations: 1.375 kB / 0.7209 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5927, allocations: 3.938 kB / 0.7209 GB, free: 144 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.5927, allocations: 1.281 kB / 0.7209 GB, free: 144 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.5929, allocations: 48.12 kB / 0.7209 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.5933, allocations: 221.5 kB / 0.7211 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.5935, allocations: 38.62 kB / 0.7212 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.5936, allocations: 36.64 kB / 0.7212 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.5936, allocations: 3.938 kB / 0.7212 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.5936, allocations: 30.56 kB / 0.7212 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.5936, allocations: 0 / 0.7212 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0004179/0.5941, allocations: 88.95 kB / 0.7213 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.5941, allocations: 52.2 kB / 0.7214 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.5942, allocations: 111 kB / 0.7215 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.5943, allocations: 26.86 kB / 0.7215 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.257e-05/0.5943, allocations: 86.83 kB / 0.7216 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.5944, allocations: 5.422 kB / 0.7216 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.5944, allocations: 20.23 kB / 0.7216 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5946, allocations: 311.5 kB / 0.7219 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.5947, allocations: 25.09 kB / 0.7219 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-05/0.5948, allocations: 14.62 kB / 0.7219 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.5949, allocations: 53.5 kB / 0.722 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5949, allocations: 0 / 0.722 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000216/0.5952, allocations: 70.83 kB / 0.722 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5952, allocations: 5.266 kB / 0.7221 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5952, allocations: 1.219 kB / 0.7221 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.5952, allocations: 0 / 0.7221 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.5953, allocations: 9.125 kB / 0.7221 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.5953, allocations: 5.953 kB / 0.7221 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.5954, allocations: 9.672 kB / 0.7221 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.5954, allocations: 0.7969 kB / 0.7221 GB, free: 15.07 MB / 0.6231 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.0001584/0.5955, allocations: 123.6 kB / 0.7222 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.5956, allocations: 1.906 kB / 0.7222 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.5956, allocations: 9.359 kB / 0.7222 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.5956, allocations: 0 / 0.7222 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5956, allocations: 1.031 kB / 0.7222 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.5956, allocations: 0.7969 kB / 0.7222 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.5958, allocations: 115.6 kB / 0.7223 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.5958, allocations: 1.062 kB / 0.7223 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.045e-05/0.5958, allocations: 9.188 kB / 0.7223 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5958, allocations: 1.188 kB / 0.7223 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5958, allocations: 8.734 kB / 0.7223 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.5958, allocations: 1.125 kB / 0.7223 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5958, allocations: 0 / 0.7223 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.5961, allocations: 167.3 kB / 0.7225 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.5961, allocations: 13.88 kB / 0.7225 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.5961, allocations: 0.6094 kB / 0.7225 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.5962, allocations: 7.219 kB / 0.7225 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.5963, allocations: 8.516 kB / 0.7225 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.5963, allocations: 5.969 kB / 0.7225 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.196e-05/0.5963, allocations: 85.05 kB / 0.7226 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.5963, allocations: 0 / 0.7226 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002132/0.5965, allocations: 8.625 kB / 0.7226 GB, free: 14.56 MB / 0.6231 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.0001283/0.5967, allocations: 101.9 kB / 0.7227 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.5969, allocations: 41.75 kB / 0.7228 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5969, allocations: 1.188 kB / 0.7228 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.777e-05/0.597, allocations: 18.81 kB / 0.7228 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.5973, allocations: 11.34 kB / 0.7228 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.5977, allocations: 122.1 kB / 0.7229 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.875e-05/0.5977, allocations: 67.91 kB / 0.723 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.5978, allocations: 4.109 kB / 0.723 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.5978, allocations: 11.77 kB / 0.723 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.5978, allocations: 0 / 0.723 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of Templates: time 0.003412/0.6012, allocations: 0.6571 MB / 0.7236 GB, free: 14.17 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.137610357254744] Failed to read output from testmodel.py, exit status != 0: 0.6125489063560963 0.6274750889999999 0.03192995 Calling exit ...