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.0007174/0.0007174, allocations: 72.45 kB / 19.9 MB, free: 16 kB / 13.93 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.0007517/0.0007517, allocations: 165.9 kB / 23.18 MB, free: 1.383 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 0.8867/0.8867, allocations: 177.2 MB / 203.6 MB, free: 5.754 MB / 186.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-531:686: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-531:694: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.7089/0.7089, allocations: 154.7 MB / 414.7 MB, free: 0.7617 MB / 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. " [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: 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.0009328/0.0009328, allocations: 75.89 kB / 0.6195 GB, free: 13.11 MB / 0.5886 GB [/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 FrontEnd - Absyn->SCode: time 0.3904/0.3914, allocations: 102 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001324/0.3927, allocations: 0.647 MB / 0.7197 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006109/0.3933, allocations: 0.845 MB / 0.7206 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.3934, allocations: 0.8438 kB / 0.7206 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.667e-05/0.3935, allocations: 4.688 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.237e-05/0.3935, allocations: 9.469 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.3937, allocations: 16.53 kB / 0.7206 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.886e-05/0.3937, allocations: 34.31 kB / 0.7206 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.3938, allocations: 8.281 kB / 0.7206 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.3939, allocations: 30.36 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.556e-05/0.394, allocations: 16.61 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.394, allocations: 3.781 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.394, allocations: 3.469 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.394, allocations: 9.047 kB / 0.7207 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.3941, allocations: 16.69 kB / 0.7207 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.272e-05/0.3942, allocations: 44.17 kB / 0.7207 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3942, allocations: 0 / 0.7207 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3942, allocations: 0.9688 kB / 0.7207 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3942, allocations: 0 / 0.7207 GB, free: 22.48 MB / 0.6355 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.0003337/0.3945, allocations: 282.5 kB / 0.721 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3945, allocations: 9.281 kB / 0.721 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.3946, allocations: 3.219 kB / 0.721 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3947, allocations: 118.1 kB / 0.7211 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.3947, allocations: 5.531 kB / 0.7211 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.3947, allocations: 6.562 kB / 0.7212 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3949, allocations: 63.8 kB / 0.7212 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3949, allocations: 4.125 kB / 0.7212 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3949, allocations: 5.188 kB / 0.7212 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3949, allocations: 4 kB / 0.7212 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.395, allocations: 44.56 kB / 0.7213 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.3952, allocations: 222 kB / 0.7215 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.689e-05/0.3953, allocations: 41.92 kB / 0.7215 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.3954, allocations: 24.69 kB / 0.7215 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.3954, allocations: 1.828 kB / 0.7215 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.3954, allocations: 35.5 kB / 0.7216 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3954, allocations: 1 kB / 0.7216 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002489/0.3956, allocations: 88.86 kB / 0.7217 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.3957, allocations: 52.11 kB / 0.7217 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.975e-05/0.3957, allocations: 108.4 kB / 0.7218 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.3957, allocations: 25.7 kB / 0.7218 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.3958, allocations: 91.86 kB / 0.7219 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.3958, allocations: 4.609 kB / 0.7219 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.3958, allocations: 23.88 kB / 0.722 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.972e-05/0.3958, allocations: 313 kB / 0.7223 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.3959, allocations: 19.31 kB / 0.7223 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.3e-05/0.3959, allocations: 15.78 kB / 0.7223 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.742e-05/0.396, allocations: 48.91 kB / 0.7223 GB, free: 21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.396, allocations: 0 / 0.7223 GB, free: 21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001107/0.3961, allocations: 70.8 kB / 0.7224 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3961, allocations: 5.156 kB / 0.7224 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3961, allocations: 1.125 kB / 0.7224 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3961, allocations: 3.938 kB / 0.7224 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.3962, allocations: 10.56 kB / 0.7224 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3962, allocations: 0 / 0.7224 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.3962, allocations: 15.08 kB / 0.7224 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.3963, allocations: 3.984 kB / 0.7224 GB, free: 20.95 MB / 0.6355 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 5.86e-05/0.3963, allocations: 123.6 kB / 0.7226 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.3963, allocations: 3.125 kB / 0.7226 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.482e-05/0.3963, allocations: 7.266 kB / 0.7226 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3963, allocations: 1.594 kB / 0.7226 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3963, allocations: 0 / 0.7226 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3963, allocations: 1.281 kB / 0.7226 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.074e-05/0.3964, allocations: 112.1 kB / 0.7227 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.3964, allocations: 1.125 kB / 0.7227 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.3964, allocations: 9.641 kB / 0.7227 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3964, allocations: 4 kB / 0.7227 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.3965, allocations: 9.641 kB / 0.7227 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.3965, allocations: 0 / 0.7227 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3965, allocations: 0.9375 kB / 0.7227 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.3966, allocations: 170.2 kB / 0.7229 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.3966, allocations: 6.141 kB / 0.7229 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.3966, allocations: 1.25 kB / 0.7229 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.002e-05/0.3966, allocations: 6.203 kB / 0.7229 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.3967, allocations: 9.062 kB / 0.7229 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.3967, allocations: 5.656 kB / 0.7229 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.676e-05/0.3967, allocations: 85.16 kB / 0.723 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3967, allocations: 0 / 0.723 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001443/0.3968, allocations: 9.406 kB / 0.723 GB, free: 20.44 MB / 0.6355 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 6.883e-05/0.3969, allocations: 98.83 kB / 0.7231 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.3971, allocations: 42.2 kB / 0.7231 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.3971, allocations: 4.062 kB / 0.7231 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.924e-05/0.3971, allocations: 22.91 kB / 0.7231 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.3973, allocations: 11.48 kB / 0.7232 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.3975, allocations: 141.5 kB / 0.7233 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.3976, allocations: 64.39 kB / 0.7233 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.3976, allocations: 10.67 kB / 0.7234 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.3976, allocations: 0 / 0.7234 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.001649/0.3992, allocations: 0.7018 MB / 0.724 GB, free: 20.06 MB / 0.6355 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.328587998868898] Failed to read output from testmodel.py, exit status != 0: 0.40410598111338913 0.41229639500000004 0.016440297 Calling exit ...