Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000793/0.000793, 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.0008693/0.0008693, 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.9064/0.9064, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7141/0.7141, allocations: 154.9 MB / 414.9 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_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.001083/0.001083, allocations: 74.22 kB / 0.6199 GB, free: 12.78 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4918/0.4929, allocations: 102 MB / 0.7195 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001644/0.4945, allocations: 0.7319 MB / 0.7202 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.4959, allocations: 1.368 MB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.496, allocations: 1.094 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.496, allocations: 10.95 kB / 0.7215 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.52e-05/0.4961, allocations: 19.86 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006816/0.4968, allocations: 314.6 kB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.4972, allocations: 372.8 kB / 0.7222 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.4973, allocations: 44.94 kB / 0.7222 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.4975, allocations: 222.7 kB / 0.7224 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.4977, allocations: 124.2 kB / 0.7226 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.576e-05/0.4978, allocations: 36.81 kB / 0.7226 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-05/0.4979, allocations: 51.84 kB / 0.7227 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.4979, allocations: 70.73 kB / 0.7227 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.4981, allocations: 123.5 kB / 0.7228 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.4985, allocations: 418 kB / 0.7232 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4985, allocations: 0 / 0.7232 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4985, allocations: 3.938 kB / 0.7232 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.4985, allocations: 1.031 kB / 0.7232 GB, free: 21.26 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.0006509/0.4991, allocations: 481.1 kB / 0.7237 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4992, allocations: 10.06 kB / 0.7237 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.4993, allocations: 24.61 kB / 0.7237 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.4996, allocations: 204.5 kB / 0.7239 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.4997, allocations: 19.52 kB / 0.7239 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.4997, allocations: 37.97 kB / 0.724 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.5, allocations: 219.9 kB / 0.7242 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5, allocations: 3.938 kB / 0.7242 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.5, allocations: 15.47 kB / 0.7242 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.5001, allocations: 2.125 kB / 0.7242 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.5002, allocations: 93.14 kB / 0.7243 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.5008, allocations: 458.9 kB / 0.7247 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.5011, allocations: 203.5 kB / 0.7249 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.5012, allocations: 87.75 kB / 0.725 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.5012, allocations: 5.547 kB / 0.725 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006677/0.5019, allocations: 0.5541 MB / 0.7256 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 2.314e-06/0.5019, allocations: 1.062 kB / 0.7256 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.0007512/0.5026, allocations: 0.5695 MB / 0.7261 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.5027, allocations: 58.16 kB / 0.7262 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.5028, allocations: 160.1 kB / 0.7263 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.5028, allocations: 63.62 kB / 0.7264 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.5029, allocations: 116.9 kB / 0.7265 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.5029, allocations: 109.7 kB / 0.7266 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.5031, allocations: 121.9 kB / 0.7267 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.307e-05/0.5031, allocations: 336.7 kB / 0.727 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.5034, allocations: 242 kB / 0.7273 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.5037, allocations: 359.3 kB / 0.7276 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.504, allocations: 367.3 kB / 0.728 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.504, allocations: 1.031 kB / 0.728 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006396/0.5046, allocations: 0.6371 MB / 0.7286 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/0.5047, allocations: 64.8 kB / 0.7287 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.5047, allocations: 2.406 kB / 0.7287 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5047, allocations: 6.125 kB / 0.7287 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.254e-05/0.5047, allocations: 27.34 kB / 0.7287 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.5047, allocations: 7.828 kB / 0.7287 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.505, allocations: 84.77 kB / 0.7288 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.505, allocations: 32.22 kB / 0.7288 GB, free: 17.84 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.0001163/0.5051, allocations: 169 kB / 0.729 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.5052, allocations: 28.09 kB / 0.729 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.5052, allocations: 41.14 kB / 0.729 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5052, allocations: 7.609 kB / 0.729 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5052, allocations: 0 / 0.729 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.5052, allocations: 31.83 kB / 0.7291 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.5053, allocations: 21.89 kB / 0.7291 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.028e-05/0.5053, allocations: 15.36 kB / 0.7291 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.5055, allocations: 71.92 kB / 0.7292 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004753/0.506, allocations: 0.5149 MB / 0.7297 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004967/0.5065, allocations: 0.6128 MB / 0.7303 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002581/0.5067, allocations: 136 kB / 0.7304 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.836e-05/0.5068, allocations: 103.8 kB / 0.7305 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of Backend: time 5.51e-07/0.5068, allocations: 0 / 0.7305 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008437/0.5076, allocations: 0.5372 MB / 0.731 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0005883/0.5082, allocations: 0.7628 MB / 0.7318 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.0091/0.5173, allocations: 5.25 MB / 0.7369 GB, free: 15.25 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.280217922991142] Failed to read output from testmodel.py, exit status != 0: 0.5234668811317533 0.5322078259999999 0.031877238 Calling exit ...