Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001128/0.001128, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001224/0.001224, allocations: 173 kB / 23.49 MB, free: 1.059 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.046/1.046, allocations: 177.1 MB / 203.8 MB, free: 5.648 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-545:108: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-545:116: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.857/0.857, allocations: 154.6 MB / 414.9 MB, free: 0.6484 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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.5203 GB, free: 2.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.796e-05, allocations: 4 kB / 0.5203 GB, free: 2.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001257/0.001285, allocations: 0.6338 MB / 0.5209 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009165/0.002202, allocations: 0.8431 MB / 0.5218 GB, free: 1.02 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.138e-05/0.002263, allocations: 0.5625 kB / 0.5218 GB, free: 1.02 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.002396, allocations: 4.5 kB / 0.5218 GB, free: 1.016 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.055e-05/0.002426, allocations: 4.969 kB / 0.5218 GB, free: 1.012 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.002572, allocations: 7.984 kB / 0.5218 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.415e-05/0.002656, allocations: 27.91 kB / 0.5218 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.707e-05/0.002753, allocations: 5.469 kB / 0.5218 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.002817, allocations: 15.92 kB / 0.5218 GB, free: 0.957 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.938e-05/0.002867, allocations: 8 kB / 0.5218 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.002888, allocations: 4 kB / 0.5218 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-06/0.002895, allocations: 0.7812 kB / 0.5218 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.002945, allocations: 7.984 kB / 0.5219 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.002975, allocations: 8.906 kB / 0.5219 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.051e-05/0.003055, allocations: 27.89 kB / 0.5219 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003057, allocations: 1.656 kB / 0.5219 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.003058, allocations: 3.938 kB / 0.5219 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.003062, allocations: 0 / 0.5219 GB, free: 0.8984 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003584/0.003421, allocations: 360.6 kB / 0.5222 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.003465, allocations: 12.72 kB / 0.5223 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.003505, allocations: 0.9375 kB / 0.5223 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.003635, allocations: 121.7 kB / 0.5224 GB, free: 360 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.003644, allocations: 4.375 kB / 0.5224 GB, free: 356 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.003652, allocations: 384 / 0.5224 GB, free: 356 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.003777, allocations: 60.3 kB / 0.5224 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.003785, allocations: 192 / 0.5224 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.003793, allocations: 384 / 0.5224 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.003801, allocations: 1.156 kB / 0.5224 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.614e-05/0.003827, allocations: 15.86 kB / 0.5224 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.004174, allocations: 257.2 kB / 0.5227 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.898e-05/0.004223, allocations: 35.06 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.213e-05/0.004245, allocations: 11.69 kB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.004253, allocations: 2.5 kB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.004279, allocations: 41.27 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.004281, allocations: 4.062 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001384/0.004419, allocations: 29.7 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.004461, allocations: 55.39 kB / 0.5229 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.953e-05/0.004541, allocations: 157.9 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.004553, allocations: 30.2 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.004611, allocations: 144.2 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.004629, allocations: 0 / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.004658, allocations: 19.38 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.004767, allocations: 492.1 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.004779, allocations: 0.9688 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-06/0.004786, allocations: 0 / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.004811, allocations: 20.56 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004813, allocations: 0 / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.876e-05/0.004862, allocations: 46.52 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.004873, allocations: 4 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.004878, allocations: 0.7188 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.004891, allocations: 0 / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.004948, allocations: 4.562 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.004953, allocations: 1.219 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.00497, allocations: 4 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.004975, allocations: 0 / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.982e-05/0.005034, allocations: 157.2 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.005049, allocations: 8.969 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.005073, allocations: 14.69 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.005075, allocations: 0 / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.005079, allocations: 2.531 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.005082, allocations: 3.984 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.834e-05/0.005171, allocations: 116.6 kB / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.005171, allocations: 0 / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.005185, allocations: 4 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.005185, allocations: 0 / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.005192, allocations: 7.938 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.005193, allocations: 7.062 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005194, allocations: 0 / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.516e-05/0.005279, allocations: 179.9 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.005286, allocations: 3.953 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.005297, allocations: 4.188 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.913e-05/0.005326, allocations: 8 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.00537, allocations: 3.984 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.005372, allocations: 1.625 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.005411, allocations: 131.1 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005411, allocations: 0 / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001341/0.005546, allocations: 4 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 7.785e-05/0.005623, allocations: 97.59 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.398e-05/0.005697, allocations: 11.67 kB / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.005699, allocations: 4 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.005713, allocations: 7.688 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.005893, allocations: 10.75 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.006148, allocations: 124.4 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.441e-05/0.006182, allocations: 59.34 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.0062, allocations: 7.938 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.006226, allocations: 9.812 kB / 0.5247 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.006227, allocations: 0 / 0.5247 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.001902/0.008129, allocations: 467.6 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8361016609705985]