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.0008159/0.0008159, allocations: 93.06 kB / 19.65 MB, free: 280 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.001016/0.001016, allocations: 165 kB / 23.02 MB, free: 1.551 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.9902/0.9902, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7857/0.7857, 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 1.884e-06/1.884e-06, allocations: 0 / 0.5203 GB, free: 1.148 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.879e-05, allocations: 5.188 kB / 0.5203 GB, free: 1.145 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001208/0.001227, allocations: 0.619 MB / 0.5209 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.002391, allocations: 1.166 MB / 0.5221 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.002433, allocations: 4 kB / 0.5221 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 9.423e-05/0.002527, allocations: 5.469 kB / 0.5221 GB, free: 15.36 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.752e-05/0.002554, allocations: 8.688 kB / 0.5221 GB, free: 15.36 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.002947, allocations: 116.5 kB / 0.5222 GB, free: 15.24 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.003083, allocations: 95.81 kB / 0.5223 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.455e-05/0.003157, allocations: 4.531 kB / 0.5223 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.003223, allocations: 43.97 kB / 0.5223 GB, free: 15.1 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.003311, allocations: 33.91 kB / 0.5224 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.00333, allocations: 8 kB / 0.5224 GB, free: 15.06 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.509e-05/0.003386, allocations: 19.92 kB / 0.5224 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.003436, allocations: 11.94 kB / 0.5224 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.003484, allocations: 27.97 kB / 0.5224 GB, free: 15 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.00361, allocations: 80.33 kB / 0.5225 GB, free: 14.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003612, allocations: 0 / 0.5225 GB, free: 14.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003612, allocations: 0.5 kB / 0.5225 GB, free: 14.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.003616, allocations: 0.7188 kB / 0.5225 GB, free: 14.93 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.0003415/0.003957, allocations: 414.2 kB / 0.5229 GB, free: 14.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.003995, allocations: 12.59 kB / 0.5229 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.004036, allocations: 6.375 kB / 0.5229 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.00417, allocations: 120.6 kB / 0.523 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.004181, allocations: 384 / 0.523 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.004198, allocations: 8.375 kB / 0.523 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.703e-05/0.004275, allocations: 39.03 kB / 0.5231 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.004286, allocations: 4.188 kB / 0.5231 GB, free: 14.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.004294, allocations: 5.25 kB / 0.5231 GB, free: 14.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.004303, allocations: 4.359 kB / 0.5231 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.004322, allocations: 15.88 kB / 0.5231 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.004576, allocations: 290.8 kB / 0.5234 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.724e-05/0.004613, allocations: 23.06 kB / 0.5234 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.004629, allocations: 19.69 kB / 0.5234 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-06/0.004633, allocations: 0 / 0.5234 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.424e-05/0.004707, allocations: 60.98 kB / 0.5235 GB, free: 13.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004708, allocations: 0 / 0.5235 GB, free: 13.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001493/0.004857, allocations: 61.64 kB / 0.5235 GB, free: 13.72 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.004889, allocations: 55.91 kB / 0.5236 GB, free: 13.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.004999, allocations: 175.1 kB / 0.5238 GB, free: 13.47 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.005019, allocations: 25.7 kB / 0.5238 GB, free: 13.44 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.00514, allocations: 138.8 kB / 0.5239 GB, free: 13.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.005152, allocations: 12.95 kB / 0.5239 GB, free: 13.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.0052, allocations: 35.36 kB / 0.524 GB, free: 13.24 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.005314, allocations: 492.1 kB / 0.5244 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.403e-05/0.005378, allocations: 58.61 kB / 0.5245 GB, free: 12.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.005439, allocations: 84.75 kB / 0.5246 GB, free: 12.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.753e-05/0.005507, allocations: 85.41 kB / 0.5246 GB, free: 12.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.005508, allocations: 0.9375 kB / 0.5246 GB, free: 12.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001679/0.005676, allocations: 178.3 kB / 0.5248 GB, free: 12.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.005703, allocations: 37.7 kB / 0.5249 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.005707, allocations: 0 / 0.5249 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.005722, allocations: 4.625 kB / 0.5249 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.251e-05/0.005734, allocations: 0 / 0.5249 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005739, allocations: 1.812 kB / 0.5249 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.005857, allocations: 27.89 kB / 0.5249 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.868e-05/0.005936, allocations: 8 kB / 0.5249 GB, free: 12.21 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.0001241/0.00606, allocations: 162 kB / 0.525 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.006087, allocations: 3.938 kB / 0.5251 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.00613, allocations: 11.98 kB / 0.5251 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.006133, allocations: 0 / 0.5251 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.006138, allocations: 0.5625 kB / 0.5251 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.006142, allocations: 3.094 kB / 0.5251 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.006244, allocations: 120.6 kB / 0.5252 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.006247, allocations: 320 / 0.5252 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.127e-05/0.006258, allocations: 3.938 kB / 0.5252 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.006262, allocations: 3.938 kB / 0.5252 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.006269, allocations: 4 kB / 0.5252 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.006272, allocations: 3.984 kB / 0.5252 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006274, allocations: 0 / 0.5252 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.006415, allocations: 96.38 kB / 0.5253 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.006426, allocations: 7.125 kB / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.006439, allocations: 3.938 kB / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.523e-05/0.006454, allocations: 0 / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.006485, allocations: 0 / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.006492, allocations: 7.938 kB / 0.5253 GB, free: 11.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.854e-05/0.00654, allocations: 127.2 kB / 0.5254 GB, free: 11.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00654, allocations: 0 / 0.5254 GB, free: 11.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001631/0.006704, allocations: 20 kB / 0.5254 GB, free: 11.58 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.0001579/0.006861, allocations: 101 kB / 0.5255 GB, free: 11.47 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.007055, allocations: 140.8 kB / 0.5257 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.007057, allocations: 0 / 0.5257 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.17e-05/0.007079, allocations: 13.47 kB / 0.5257 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.007274, allocations: 22.84 kB / 0.5257 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.007548, allocations: 129 kB / 0.5258 GB, free: 11.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.266e-05/0.007581, allocations: 59.34 kB / 0.5259 GB, free: 11.05 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.854e-05/0.007599, allocations: 0 / 0.5259 GB, free: 11.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.007617, allocations: 12.5 kB / 0.5259 GB, free: 11.04 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/0.007618, allocations: 0 / 0.5259 GB, free: 11.04 MB / 458.7 MB Notification: Performance of Templates: time 0.002889/0.01051, allocations: 1.159 MB / 0.527 GB, free: 9.953 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8184648700989783]