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.0009413/0.0009413, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001223/0.001223, allocations: 169 kB / 23.27 MB, free: 1.223 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.9232/0.9232, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.7841/0.7841, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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.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 3.777e-06/3.777e-06, allocations: 0 / 0.5208 GB, free: 1.887 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.814e-05/4.192e-05, allocations: 5.266 kB / 0.5208 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001959/0.002001, allocations: 0.6055 MB / 0.5214 GB, free: 1.297 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.003584, allocations: 1.172 MB / 0.5225 GB, free: 116 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.003641, allocations: 0 / 0.5225 GB, free: 116 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.003756, allocations: 4.594 kB / 0.5225 GB, free: 112 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.003793, allocations: 12.56 kB / 0.5225 GB, free: 100 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.004315, allocations: 120.8 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.00447, allocations: 91.81 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.077e-05/0.004551, allocations: 4.969 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.402e-05/0.004645, allocations: 47.95 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.004749, allocations: 24.92 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.004775, allocations: 8 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.617e-05/0.004851, allocations: 27.92 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.004903, allocations: 8.938 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.004954, allocations: 31.95 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.005111, allocations: 75.78 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.005115, allocations: 4.859 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005115, allocations: 4 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.00512, allocations: 1.219 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB 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.0004271/0.005547, allocations: 402.3 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.005589, allocations: 8.031 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.005637, allocations: 9.562 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.005787, allocations: 124.5 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.005805, allocations: 10.12 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.005822, allocations: 4.375 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.954e-05/0.005901, allocations: 42.25 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.005909, allocations: 192 / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.005916, allocations: 384 / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.005922, allocations: 2 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.00594, allocations: 7.938 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.006244, allocations: 276.4 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/0.006292, allocations: 24.34 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.235e-05/0.006305, allocations: 11.75 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-06/0.006309, allocations: 0 / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.006417, allocations: 65.59 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.006418, allocations: 3.938 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001706/0.006589, allocations: 62.52 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.006625, allocations: 55.41 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.006729, allocations: 179.3 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.00675, allocations: 25.7 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.006814, allocations: 138.8 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.006825, allocations: 7.938 kB / 0.5243 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.006887, allocations: 37.17 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.007032, allocations: 0.4884 MB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.007096, allocations: 49.67 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.946e-05/0.007165, allocations: 76.75 kB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.524e-05/0.007251, allocations: 86.72 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007253, allocations: 0 / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002142/0.007467, allocations: 165 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.007505, allocations: 40.39 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.007511, allocations: 0 / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.007526, allocations: 4 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.649e-05/0.007543, allocations: 0 / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.007548, allocations: 3.938 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.00769, allocations: 23.97 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.007707, allocations: 8 kB / 0.5253 GB, free: 13 MB / 0.4948 GB 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 8.284e-05/0.00779, allocations: 158.2 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.007804, allocations: 7.891 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.007833, allocations: 15.98 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007835, allocations: 0.9375 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007837, allocations: 0 / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.00784, allocations: 0 / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.823e-05/0.007928, allocations: 98.16 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.007932, allocations: 7.984 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-06/0.007938, allocations: 0.5625 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.007941, allocations: 0 / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.007945, allocations: 2.281 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.007947, allocations: 3.938 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007949, allocations: 0 / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.00806, allocations: 88.38 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.008067, allocations: 0 / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.008078, allocations: 8.234 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.588e-05/0.008094, allocations: 8.812 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.008115, allocations: 4 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.008119, allocations: 0.6562 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.221e-05/0.008171, allocations: 135.2 kB / 0.5258 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.008171, allocations: 0.6875 kB / 0.5258 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002404/0.008411, allocations: 19.95 kB / 0.5258 GB, free: 12.4 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: 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.0001436/0.008555, allocations: 102.1 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.008733, allocations: 140.7 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008735, allocations: 0 / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-05/0.008755, allocations: 11.69 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.008965, allocations: 17.17 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.009242, allocations: 130.1 kB / 0.5262 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.684e-05/0.009279, allocations: 59.34 kB / 0.5263 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.107e-05/0.0093, allocations: 0 / 0.5263 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.4e-05/0.009394, allocations: 86.19 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.009395, allocations: 4 kB / 0.5264 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.003751/0.01315, allocations: 1.274 MB / 0.5276 GB, free: 10.59 MB / 0.4948 GB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4523082529194653]