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.0008454/0.0008454, allocations: 80.44 kB / 19.91 MB, free: 4 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.001214/0.001214, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9254/0.9254, allocations: 177.2 MB / 203.6 MB, free: 5.773 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-531:686: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-531:694: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.7498/0.7498, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 71.89 kB / 0.6195 GB, free: 13.14 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5012, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00195/0.5032, allocations: 0.6148 MB / 0.7197 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.5047, allocations: 1.136 MB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.5047, allocations: 1.125 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.5048, allocations: 4.547 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.946e-05/0.5049, allocations: 14.41 kB / 0.7208 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.5054, allocations: 127.6 kB / 0.7209 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.5056, allocations: 90.52 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.5058, allocations: 3.656 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.5059, allocations: 55.48 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.506, allocations: 28.56 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.506, allocations: 8.156 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.5061, allocations: 27.19 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.5062, allocations: 7.031 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.5062, allocations: 31.17 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.5064, allocations: 109.4 kB / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5064, allocations: 0.5625 kB / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5064, allocations: 0 / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.5064, allocations: 0 / 0.7213 GB, free: 22.25 MB / 0.6355 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.0004124/0.5069, allocations: 303.2 kB / 0.7216 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.5069, allocations: 8.875 kB / 0.7216 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.507, allocations: 9.953 kB / 0.7216 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.5071, allocations: 122.7 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.5071, allocations: 3.625 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.5071, allocations: 10.34 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.5073, allocations: 47.14 kB / 0.7218 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5073, allocations: 9.406 kB / 0.7218 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.5073, allocations: 3.938 kB / 0.7218 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.5073, allocations: 1.156 kB / 0.7218 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.446e-05/0.5073, allocations: 12.45 kB / 0.7218 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.5077, allocations: 236.8 kB / 0.722 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/0.5077, allocations: 26.2 kB / 0.7221 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.5078, allocations: 8.422 kB / 0.7221 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.5078, allocations: 5.234 kB / 0.7221 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.5079, allocations: 57.12 kB / 0.7221 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.003e-06/0.5079, allocations: 5.125 kB / 0.7221 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002163/0.5082, allocations: 68.58 kB / 0.7222 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.5082, allocations: 53.48 kB / 0.7222 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.5083, allocations: 109 kB / 0.7223 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.5083, allocations: 32.56 kB / 0.7224 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.5083, allocations: 85.16 kB / 0.7225 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.5083, allocations: 5.016 kB / 0.7225 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-05/0.5084, allocations: 35.64 kB / 0.7225 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.5085, allocations: 313 kB / 0.7228 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.044e-05/0.5085, allocations: 59.64 kB / 0.7229 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/0.5086, allocations: 82.05 kB / 0.7229 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.501e-05/0.5087, allocations: 88.25 kB / 0.723 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5087, allocations: 3.938 kB / 0.723 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001899/0.5089, allocations: 176.5 kB / 0.7232 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.5089, allocations: 34.97 kB / 0.7232 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5089, allocations: 0 / 0.7232 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5089, allocations: 2.156 kB / 0.7232 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-05/0.509, allocations: 5.953 kB / 0.7232 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.509, allocations: 5.188 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.5091, allocations: 24.98 kB / 0.7233 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.5091, allocations: 4.844 kB / 0.7233 GB, free: 20.4 MB / 0.6355 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 6.364e-05/0.5092, allocations: 122.9 kB / 0.7234 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.5092, allocations: 2.156 kB / 0.7234 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.5092, allocations: 5.406 kB / 0.7234 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5092, allocations: 1.188 kB / 0.7234 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5092, allocations: 0 / 0.7234 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.5093, allocations: 6.688 kB / 0.7234 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.5093, allocations: 8.641 kB / 0.7234 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-06/0.5093, allocations: 1.859 kB / 0.7234 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.5093, allocations: 10.42 kB / 0.7234 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.777e-05/0.5094, allocations: 129 kB / 0.7235 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.875e-05/0.5095, allocations: 222.1 kB / 0.7237 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.161e-05/0.5095, allocations: 9.5 kB / 0.7238 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.5095, allocations: 85.36 kB / 0.7238 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of Backend: time 5.01e-07/0.5095, allocations: 1.031 kB / 0.7238 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.5099, allocations: 211.8 kB / 0.724 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003835/0.5103, allocations: 0.581 MB / 0.7246 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.003146/0.5134, allocations: 1.2 MB / 0.7258 GB, free: 18.92 MB / 0.6355 GB " [Timeout remaining time 659] 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: 4.305115570081398] Failed to read output from testmodel.py, exit status != 0: 0.5204005900304765 0.530149206 0.020721476000000003 Calling exit ...