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.0008031/0.0008031, allocations: 76.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.0008714/0.0008714, allocations: 170.2 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.9423/0.9423, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7673/0.7673, 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.0008854/0.0008854, allocations: 67.89 kB / 0.6195 GB, free: 13.12 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.536/0.5368, allocations: 102 MB / 0.7191 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001477/0.5383, allocations: 0.6571 MB / 0.7197 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008565/0.5392, allocations: 0.8498 MB / 0.7206 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.5392, allocations: 1.5 kB / 0.7206 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.5393, allocations: 4.734 kB / 0.7206 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.327e-05/0.5394, allocations: 4.594 kB / 0.7206 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.5396, allocations: 17.69 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.593e-05/0.5397, allocations: 37.72 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.5398, allocations: 16.25 kB / 0.7206 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.5398, allocations: 18.09 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.978e-05/0.5399, allocations: 17.84 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.5399, allocations: 2.594 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.5399, allocations: 3.938 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.54, allocations: 13.56 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.54, allocations: 11.97 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.5402, allocations: 42.16 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.5402, allocations: 1.25 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.205e-06/0.5402, allocations: 0 / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.5402, allocations: 3.938 kB / 0.7208 GB, free: 22.53 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.0004018/0.5406, allocations: 281.9 kB / 0.721 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5406, allocations: 10.19 kB / 0.721 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.5407, allocations: 2.406 kB / 0.721 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.5408, allocations: 114.1 kB / 0.7211 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.5408, allocations: 1.469 kB / 0.7211 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.5408, allocations: 8.141 kB / 0.7212 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.541, allocations: 66.62 kB / 0.7212 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.541, allocations: 192 / 0.7212 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.541, allocations: 4.812 kB / 0.7212 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.541, allocations: 5.125 kB / 0.7212 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.5412, allocations: 47.41 kB / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.5415, allocations: 218 kB / 0.7215 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.5416, allocations: 38.88 kB / 0.7215 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.5417, allocations: 24.97 kB / 0.7215 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.5417, allocations: 5.125 kB / 0.7215 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.5417, allocations: 36.33 kB / 0.7216 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5417, allocations: 0 / 0.7216 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002638/0.5419, allocations: 88.2 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.542, allocations: 53.22 kB / 0.7217 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.803e-05/0.542, allocations: 103.7 kB / 0.7218 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.642e-06/0.542, allocations: 25.7 kB / 0.7218 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.5421, allocations: 91.5 kB / 0.7219 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.5421, allocations: 9.766 kB / 0.7219 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.5421, allocations: 14.23 kB / 0.7219 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.564e-05/0.5421, allocations: 318.2 kB / 0.7223 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/0.5422, allocations: 19.2 kB / 0.7223 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.447e-05/0.5422, allocations: 19.66 kB / 0.7223 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.362e-05/0.5423, allocations: 44.58 kB / 0.7223 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5423, allocations: 1.562 kB / 0.7223 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001207/0.5425, allocations: 73.41 kB / 0.7224 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.5425, allocations: 6.578 kB / 0.7224 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5425, allocations: 4 kB / 0.7224 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.5425, allocations: 1.062 kB / 0.7224 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.5426, allocations: 13.27 kB / 0.7224 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.5426, allocations: 0 / 0.7224 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.5426, allocations: 14.36 kB / 0.7224 GB, free: 21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.5426, allocations: 5.156 kB / 0.7224 GB, free: 21 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 9.778e-05/0.5427, allocations: 119.7 kB / 0.7226 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.5427, allocations: 1.844 kB / 0.7226 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.5428, allocations: 9.078 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.5428, allocations: 1.281 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5428, allocations: 3.938 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5428, allocations: 0.5625 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.02e-05/0.5428, allocations: 112.6 kB / 0.7227 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5428, allocations: 0.7031 kB / 0.7227 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.5429, allocations: 9.422 kB / 0.7227 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5429, allocations: 5.031 kB / 0.7227 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.5429, allocations: 0 / 0.7227 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5429, allocations: 1.859 kB / 0.7227 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5429, allocations: 0 / 0.7227 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.543, allocations: 167.4 kB / 0.7229 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.5431, allocations: 6.359 kB / 0.7229 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-06/0.5431, allocations: 7.875 kB / 0.7229 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.5431, allocations: 10.98 kB / 0.7229 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.5431, allocations: 9 kB / 0.7229 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.5432, allocations: 1.031 kB / 0.7229 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.282e-05/0.5432, allocations: 85.31 kB / 0.723 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5432, allocations: 0 / 0.723 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001393/0.5433, allocations: 8.562 kB / 0.723 GB, free: 20.49 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 8.226e-05/0.5434, allocations: 95.92 kB / 0.7231 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.5435, allocations: 42.53 kB / 0.7231 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.5435, allocations: 0 / 0.7231 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/0.5436, allocations: 23.2 kB / 0.7231 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.5438, allocations: 7.297 kB / 0.7231 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.544, allocations: 124 kB / 0.7233 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.389e-05/0.5441, allocations: 63.8 kB / 0.7233 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.5441, allocations: 7.953 kB / 0.7233 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.5441, allocations: 11.45 kB / 0.7233 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.5441, allocations: 0 / 0.7233 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of Templates: time 0.00218/0.5463, allocations: 0.6616 MB / 0.724 GB, free: 20.09 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.406621136004105] Failed to read output from testmodel.py, exit status != 0: 0.5517441789852455 0.5618398440000001 0.019427312000000002 Calling exit ...