Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.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.001206/0.001206, 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.001302/0.001302, 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.9412/0.9412, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7431/0.7431, allocations: 154.7 MB / 414.7 MB, free: 0.7695 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.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle") [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.001018/0.001018, allocations: 71.89 kB / 0.6196 GB, free: 13.12 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.5087/0.5097, allocations: 101.9 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001927/0.5116, allocations: 0.7268 MB / 0.7198 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.5134, allocations: 1.379 MB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.496e-05/0.5135, allocations: 1.438 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.921e-05/0.5135, allocations: 14.06 kB / 0.7212 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.349e-05/0.5136, allocations: 11.91 kB / 0.7212 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008771/0.5145, allocations: 311.3 kB / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.5148, allocations: 374.2 kB / 0.7219 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.515, allocations: 47.47 kB / 0.7219 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.5152, allocations: 223.7 kB / 0.7221 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.5154, allocations: 123.1 kB / 0.7222 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.556e-05/0.5154, allocations: 37.03 kB / 0.7223 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-05/0.5155, allocations: 48.81 kB / 0.7223 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.5156, allocations: 70.53 kB / 0.7224 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.5157, allocations: 123.3 kB / 0.7225 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.5161, allocations: 414.4 kB / 0.7229 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.5161, allocations: 0 / 0.7229 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5161, allocations: 0 / 0.7229 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.5161, allocations: 0 / 0.7229 GB, free: 21.41 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005794/0.5167, allocations: 490.4 kB / 0.7234 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5167, allocations: 7.844 kB / 0.7234 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.247e-05/0.5168, allocations: 28.39 kB / 0.7234 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.5172, allocations: 200.1 kB / 0.7236 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.5172, allocations: 24.59 kB / 0.7236 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.5173, allocations: 37.36 kB / 0.7237 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.5176, allocations: 218.8 kB / 0.7239 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.5176, allocations: 3.938 kB / 0.7239 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.5176, allocations: 13.98 kB / 0.7239 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.5176, allocations: 6.906 kB / 0.7239 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.5177, allocations: 97.92 kB / 0.724 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.5183, allocations: 451.2 kB / 0.7244 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.5186, allocations: 202.9 kB / 0.7246 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.5188, allocations: 84.53 kB / 0.7247 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.5188, allocations: 5.344 kB / 0.7247 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008127/0.5196, allocations: 0.5546 MB / 0.7252 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 2.404e-06/0.5196, allocations: 1.438 kB / 0.7252 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.0008926/0.5205, allocations: 0.5727 MB / 0.7258 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.5205, allocations: 56.66 kB / 0.7258 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.5207, allocations: 161.7 kB / 0.726 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.5207, allocations: 59.55 kB / 0.7261 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.5208, allocations: 116.4 kB / 0.7262 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.5208, allocations: 109.2 kB / 0.7263 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.521, allocations: 122.8 kB / 0.7264 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.505e-05/0.521, allocations: 337 kB / 0.7267 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.5213, allocations: 241.8 kB / 0.7269 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.5216, allocations: 359.6 kB / 0.7273 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.5219, allocations: 367 kB / 0.7276 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.522, allocations: 5.25 kB / 0.7276 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006471/0.5226, allocations: 0.6296 MB / 0.7283 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.5226, allocations: 63.56 kB / 0.7283 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.5226, allocations: 3.125 kB / 0.7283 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5227, allocations: 6.203 kB / 0.7283 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.5227, allocations: 28.3 kB / 0.7284 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.5227, allocations: 10.38 kB / 0.7284 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.523, allocations: 81.59 kB / 0.7284 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.523, allocations: 31.69 kB / 0.7285 GB, free: 17.99 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,fal.y,tru.y,falCleTruIni.clr,falCleFalIni.clr,truCleTruIni.clr,truCleFalIni.clr,togInp.y,$PRE.togInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.u,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 2 * 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.000133/0.5232, allocations: 177.1 kB / 0.7286 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.5232, allocations: 28.19 kB / 0.7287 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.287e-05/0.5233, allocations: 37.77 kB / 0.7287 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.5233, allocations: 7.469 kB / 0.7287 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5233, allocations: 4 kB / 0.7287 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.5233, allocations: 27.2 kB / 0.7287 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.67e-05/0.5234, allocations: 30.45 kB / 0.7288 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.5234, allocations: 15.08 kB / 0.7288 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.5236, allocations: 67.33 kB / 0.7288 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006818/0.5243, allocations: 0.5063 MB / 0.7293 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005686/0.5249, allocations: 0.6202 MB / 0.7299 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001953/0.5251, allocations: 136.8 kB / 0.7301 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.5251, allocations: 103.1 kB / 0.7302 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of Backend: time 4.41e-07/0.5251, allocations: 0 / 0.7302 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007898/0.5259, allocations: 0.5332 MB / 0.7307 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0006465/0.5266, allocations: 0.7634 MB / 0.7314 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.009032/0.5356, allocations: 5.245 MB / 0.7366 GB, free: 15.41 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.386539793107659] Failed to read output from testmodel.py, exit status != 0: 0.5413095278199762 0.550245676 0.032329298 Calling exit ...