Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001828/0.001828, allocations: 88.72 kB / 19.44 MB, free: 356 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.002414/0.002414, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.516/1.516, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.259/1.259, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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 178] 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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.107e-06/4.107e-06, allocations: 0 / 0.5196 GB, free: 1.504 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.742e-05/4.153e-05, allocations: 6.25 kB / 0.5196 GB, free: 1.496 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001863/0.001905, allocations: 0.6086 MB / 0.5202 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.003812, allocations: 1.133 MB / 0.5213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.003862, allocations: 0 / 0.5213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.003971, allocations: 7.938 kB / 0.5213 GB, free: 15.76 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.641e-05/0.003997, allocations: 2.406 kB / 0.5213 GB, free: 15.76 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.004528, allocations: 121.3 kB / 0.5214 GB, free: 15.64 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.004716, allocations: 97.12 kB / 0.5215 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.004819, allocations: 3.984 kB / 0.5215 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.004952, allocations: 47.97 kB / 0.5216 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.005073, allocations: 27.89 kB / 0.5216 GB, free: 15.47 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.0051, allocations: 8.562 kB / 0.5216 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.612e-05/0.005177, allocations: 24.89 kB / 0.5216 GB, free: 15.44 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.04e-05/0.005237, allocations: 7.984 kB / 0.5216 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.005326, allocations: 23.97 kB / 0.5217 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.005564, allocations: 108.7 kB / 0.5218 GB, free: 15.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.00557, allocations: 8 kB / 0.5218 GB, free: 15.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005571, allocations: 0 / 0.5218 GB, free: 15.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.005576, allocations: 0.7812 kB / 0.5218 GB, free: 15.3 MB / 458.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.0005898/0.006166, allocations: 307.9 kB / 0.5221 GB, free: 14.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.006208, allocations: 9.062 kB / 0.5221 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.738e-05/0.006295, allocations: 8.938 kB / 0.5221 GB, free: 14.94 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.006507, allocations: 119.2 kB / 0.5222 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.006522, allocations: 4.375 kB / 0.5222 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.006546, allocations: 8.375 kB / 0.5222 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.006672, allocations: 50.23 kB / 0.5223 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.006681, allocations: 1.312 kB / 0.5223 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.006692, allocations: 4.312 kB / 0.5223 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.006697, allocations: 384 / 0.5223 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.183e-05/0.006739, allocations: 16.62 kB / 0.5223 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.007128, allocations: 228.5 kB / 0.5225 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.398e-05/0.007202, allocations: 27.8 kB / 0.5225 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.007223, allocations: 12.86 kB / 0.5225 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.007232, allocations: 0 / 0.5225 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.007411, allocations: 68.45 kB / 0.5226 GB, free: 14.33 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.007412, allocations: 0 / 0.5226 GB, free: 14.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002396/0.007652, allocations: 65.58 kB / 0.5227 GB, free: 14.26 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.007716, allocations: 64.17 kB / 0.5227 GB, free: 14.19 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.00784, allocations: 109.8 kB / 0.5228 GB, free: 14.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.007871, allocations: 26.55 kB / 0.5229 GB, free: 14.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.007953, allocations: 92.09 kB / 0.523 GB, free: 13.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.678e-06/0.007962, allocations: 2.562 kB / 0.523 GB, free: 13.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.008042, allocations: 33.7 kB / 0.523 GB, free: 13.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.008236, allocations: 318.8 kB / 0.5233 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.008345, allocations: 57.69 kB / 0.5233 GB, free: 13.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.008468, allocations: 76.27 kB / 0.5234 GB, free: 13.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.008601, allocations: 80.89 kB / 0.5235 GB, free: 13.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.008603, allocations: 0 / 0.5235 GB, free: 13.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003406/0.008943, allocations: 190.1 kB / 0.5237 GB, free: 13.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.008993, allocations: 33.7 kB / 0.5237 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.008999, allocations: 0.5625 kB / 0.5237 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.009021, allocations: 4 kB / 0.5237 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.798e-05/0.009039, allocations: 5.484 kB / 0.5237 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.009057, allocations: 0 / 0.5237 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.009281, allocations: 28.47 kB / 0.5237 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.009304, allocations: 5.203 kB / 0.5237 GB, free: 13.06 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001204/0.009424, allocations: 117.8 kB / 0.5239 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.009448, allocations: 12.77 kB / 0.5239 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.009476, allocations: 7.984 kB / 0.5239 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.009478, allocations: 0.625 kB / 0.5239 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.009482, allocations: 3.938 kB / 0.5239 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.009485, allocations: 1.094 kB / 0.5239 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.009623, allocations: 117.2 kB / 0.524 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.009624, allocations: 0 / 0.524 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-06/0.009631, allocations: 0.7188 kB / 0.524 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.009636, allocations: 3.938 kB / 0.524 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.009645, allocations: 7.062 kB / 0.524 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.009646, allocations: 0 / 0.524 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.009647, allocations: 3.938 kB / 0.524 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.009783, allocations: 85.06 kB / 0.5241 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-06/0.009791, allocations: 0 / 0.5241 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.009809, allocations: 3.938 kB / 0.5241 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/0.009826, allocations: 4 kB / 0.5241 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.009856, allocations: 0 / 0.5241 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.00987, allocations: 10.73 kB / 0.5241 GB, free: 12.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.692e-05/0.009957, allocations: 87.28 kB / 0.5242 GB, free: 12.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009957, allocations: 3.938 kB / 0.5242 GB, free: 12.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.01018, allocations: 12 kB / 0.5242 GB, free: 12.53 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000178/0.01036, allocations: 107.2 kB / 0.5243 GB, free: 12.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.01061, allocations: 130.3 kB / 0.5244 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01061, allocations: 0 / 0.5244 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.261e-05/0.01065, allocations: 15.94 kB / 0.5245 GB, free: 12.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.01086, allocations: 8.859 kB / 0.5245 GB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.01122, allocations: 125.8 kB / 0.5246 GB, free: 12.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.726e-05/0.0113, allocations: 67.7 kB / 0.5246 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.261e-05/0.01132, allocations: 7.984 kB / 0.5247 GB, free: 12.01 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.01134, allocations: 11.38 kB / 0.5247 GB, free: 12 MB / 458.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01134, allocations: 0 / 0.5247 GB, free: 12 MB / 458.7 MB Notification: Performance of Templates: time 0.004351/0.0157, allocations: 1.163 MB / 0.5258 GB, free: 10.91 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.835156982997432]