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.001366/0.001366, allocations: 89.06 kB / 19.65 MB, free: 276 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.001509/0.001509, allocations: 177.3 kB / 23.02 MB, free: 1.543 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.9179/0.9179, allocations: 177.1 MB / 203.4 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.7949/0.7949, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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.663e-06/1.663e-06, allocations: 0 / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.277e-05, allocations: 4 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00123/0.001252, allocations: 0.6337 MB / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008234/0.002076, allocations: 0.8399 MB / 0.5218 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.002125, allocations: 7.938 kB / 0.5218 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.002236, allocations: 1.719 kB / 0.5218 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.002266, allocations: 5.469 kB / 0.5218 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.00239, allocations: 11.97 kB / 0.5218 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.934e-05/0.002469, allocations: 28.8 kB / 0.5218 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.002563, allocations: 1.469 kB / 0.5218 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.002629, allocations: 19.92 kB / 0.5218 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.092e-05/0.00268, allocations: 7.984 kB / 0.5218 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.0027, allocations: 4 kB / 0.5218 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-06/0.002708, allocations: 4.75 kB / 0.5218 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.00276, allocations: 4 kB / 0.5218 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.002791, allocations: 9.406 kB / 0.5219 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.057e-05/0.002871, allocations: 23.95 kB / 0.5219 GB, free: 0.625 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.002874, allocations: 0 / 0.5219 GB, free: 0.625 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.002875, allocations: 0 / 0.5219 GB, free: 0.625 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.002878, allocations: 1.344 kB / 0.5219 GB, free: 0.625 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.0003509/0.003229, allocations: 364.6 kB / 0.5222 GB, free: 236 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.003264, allocations: 8.031 kB / 0.5222 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.0033, allocations: 5.469 kB / 0.5222 GB, free: 224 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.00342, allocations: 123.9 kB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.00343, allocations: 384 / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.00344, allocations: 8.312 kB / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.003554, allocations: 58.89 kB / 0.5224 GB, free: 0 / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.003561, allocations: 192 / 0.5224 GB, free: 0 / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.00357, allocations: 384 / 0.5224 GB, free: 0 / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.003577, allocations: 384 / 0.5224 GB, free: 0 / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.576e-05/0.003613, allocations: 11.92 kB / 0.5224 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.00389, allocations: 263.7 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.286e-05/0.003933, allocations: 27.69 kB / 0.5227 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.003951, allocations: 8.25 kB / 0.5227 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.003959, allocations: 4.047 kB / 0.5227 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.003982, allocations: 42.2 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.003983, allocations: 0 / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001209/0.004103, allocations: 39.09 kB / 0.5228 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.004133, allocations: 51.41 kB / 0.5228 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.714e-05/0.0042, allocations: 165.9 kB / 0.523 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.004209, allocations: 26.64 kB / 0.523 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.004251, allocations: 142.8 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.004266, allocations: 5.125 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.004288, allocations: 15.38 kB / 0.5232 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.004386, allocations: 492.1 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.004398, allocations: 5.438 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.004405, allocations: 0 / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.265e-05/0.004428, allocations: 15.69 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00443, allocations: 0.8125 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.306e-05/0.004473, allocations: 45.52 kB / 0.5237 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.004485, allocations: 5.281 kB / 0.5237 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.00449, allocations: 0 / 0.5237 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.004505, allocations: 4 kB / 0.5237 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.004561, allocations: 1.344 kB / 0.5237 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.004566, allocations: 0 / 0.5237 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.00458, allocations: 4 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.004585, allocations: 6.641 kB / 0.5237 GB, free: 14.52 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 6.152e-05/0.004647, allocations: 156.6 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.004659, allocations: 3.938 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.00468, allocations: 10.75 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.004681, allocations: 0 / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.004684, allocations: 0 / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.004687, allocations: 7.938 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.307e-05/0.00477, allocations: 119.4 kB / 0.524 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.004771, allocations: 0 / 0.524 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.004786, allocations: 4 kB / 0.524 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-06/0.004788, allocations: 0 / 0.524 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.004794, allocations: 3.938 kB / 0.524 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.004795, allocations: 0 / 0.524 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.004797, allocations: 0 / 0.524 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.182e-05/0.004878, allocations: 184.9 kB / 0.5242 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.004885, allocations: 3.953 kB / 0.5242 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.004895, allocations: 8.875 kB / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.641e-05/0.004922, allocations: 0 / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.004957, allocations: 7.984 kB / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.00496, allocations: 4.938 kB / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.075e-05/0.00499, allocations: 123.4 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.00499, allocations: 4.656 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001313/0.005122, allocations: 0 / 0.5244 GB, free: 13.83 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.291e-05/0.005195, allocations: 99.09 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.664e-05/0.005281, allocations: 18.11 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.005283, allocations: 3.938 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.497e-05/0.005298, allocations: 7.688 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.005493, allocations: 9.375 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.005753, allocations: 129.1 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.539e-05/0.005788, allocations: 59.34 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.82e-05/0.005806, allocations: 0 / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.005832, allocations: 12.5 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of SimCode: time 3.7e-07/0.005832, allocations: 0 / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.001983/0.007815, allocations: 485.1 kB / 0.5251 GB, free: 12.99 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.6399535788223147]