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.001274/0.001274, allocations: 93.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.001556/0.001556, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.9366/0.9366, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7934/0.7934, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.066e-06/3.066e-06, allocations: 0.9844 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.84e-05, allocations: 5.703 kB / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001549/0.001578, allocations: 0.6065 MB / 0.5209 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.00285, allocations: 1.17 MB / 0.5221 GB, free: 440 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.002906, allocations: 0 / 0.5221 GB, free: 440 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.003026, allocations: 12.8 kB / 0.5221 GB, free: 428 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.413e-05/0.00306, allocations: 8.25 kB / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005302/0.003591, allocations: 121.8 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.003743, allocations: 91.83 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.593e-05/0.003829, allocations: 3.984 kB / 0.5223 GB, free: 204 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.206e-05/0.003901, allocations: 43.97 kB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.004011, allocations: 29.3 kB / 0.5223 GB, free: 132 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.004034, allocations: 8 kB / 0.5224 GB, free: 124 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.902e-05/0.004103, allocations: 23.97 kB / 0.5224 GB, free: 100 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.004167, allocations: 11.94 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.004224, allocations: 27.34 kB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.004396, allocations: 83.72 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.004399, allocations: 0 / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.0044, allocations: 0 / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.004405, allocations: 0 / 0.5225 GB, free: 15.98 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.0004217/0.004827, allocations: 406.3 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.004864, allocations: 8.031 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.004918, allocations: 8.938 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.005066, allocations: 132.5 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.005078, allocations: 0.9062 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.005096, allocations: 12.92 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.843e-05/0.005184, allocations: 42.19 kB / 0.5231 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.005194, allocations: 0.75 kB / 0.5231 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.005203, allocations: 1.25 kB / 0.5231 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.005212, allocations: 4.375 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.634e-05/0.005228, allocations: 9.406 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.005522, allocations: 287.8 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.581e-05/0.005568, allocations: 31 kB / 0.5234 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.29e-05/0.005581, allocations: 7.688 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002837/0.005864, allocations: 8.984 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.005969, allocations: 64.98 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.635e-06/0.005972, allocations: 1.062 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001928/0.006165, allocations: 65.58 kB / 0.5235 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.006208, allocations: 51.41 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.006315, allocations: 171.4 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.006336, allocations: 33.64 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.006395, allocations: 138.8 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.077e-05/0.006406, allocations: 3.953 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.006462, allocations: 44.17 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.006591, allocations: 492.1 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.832e-05/0.006669, allocations: 58.95 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.00674, allocations: 80.75 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.706e-05/0.006827, allocations: 86.03 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.006829, allocations: 0 / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001975/0.007027, allocations: 179.5 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.007061, allocations: 35.42 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.007067, allocations: 0 / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.007082, allocations: 0 / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.183e-05/0.007104, allocations: 4 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.00711, allocations: 3.984 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.007248, allocations: 22.73 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.007262, allocations: 4 kB / 0.5249 GB, free: 13.27 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 7.777e-05/0.00734, allocations: 160.5 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.007352, allocations: 15.88 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.007376, allocations: 8 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007379, allocations: 4 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.007382, allocations: 1.062 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007385, allocations: 0 / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.553e-05/0.00746, allocations: 116.6 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.007462, allocations: 4.938 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-06/0.007468, allocations: 0 / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.00747, allocations: 3.938 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.007478, allocations: 1.25 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007479, allocations: 0 / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.007482, allocations: 4.5 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.12e-05/0.007573, allocations: 88.42 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-06/0.00758, allocations: 0.6562 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.007592, allocations: 7.938 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.255e-05/0.007604, allocations: 9.219 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.00763, allocations: 288 / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.007636, allocations: 7.984 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.646e-05/0.007672, allocations: 129.6 kB / 0.5254 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007672, allocations: 0 / 0.5254 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001397/0.007812, allocations: 15.95 kB / 0.5254 GB, free: 12.64 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.0001299/0.007942, allocations: 115.2 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.008112, allocations: 143.7 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.008114, allocations: 0 / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/0.008141, allocations: 19.61 kB / 0.5257 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.008308, allocations: 5.547 kB / 0.5257 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.008568, allocations: 138.1 kB / 0.5258 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.947e-05/0.008597, allocations: 55.36 kB / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.636e-05/0.008614, allocations: 0.5938 kB / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.008631, allocations: 13.88 kB / 0.5259 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.008632, allocations: 0 / 0.5259 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.00323/0.01186, allocations: 1.27 MB / 0.5271 GB, free: 10.89 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.497554421890527]