Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.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.001347/0.001347, allocations: 83.62 kB / 19.16 MB, free: 2.535 MB / 14.72 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.001733/0.001733, allocations: 165.8 kB / 22.44 MB, free: 5.34 MB / 14.72 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 1.48/1.48, allocations: 177.2 MB / 202.8 MB, free: 9.211 MB / 190.1 MB " [Timeout remaining time 178] 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.27/1.27, allocations: 155 MB / 414.2 MB, free: 4.926 MB / 382.1 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 178] 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [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.001989/0.001989, allocations: 73.52 kB / 0.6191 GB, free: 4.176 MB / 0.5294 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.5154/0.5174, allocations: 102 MB / 0.7187 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001743/0.5191, allocations: 0.6726 MB / 0.7194 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.5204, allocations: 1.286 MB / 0.7207 GB, free: 436 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.5204, allocations: 0 / 0.7207 GB, free: 436 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.5205, allocations: 14.28 kB / 0.7207 GB, free: 424 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.427e-05/0.5205, allocations: 20.95 kB / 0.7207 GB, free: 408 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007251/0.5213, allocations: 313 kB / 0.721 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.5215, allocations: 261.4 kB / 0.7212 GB, free: 132 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.5216, allocations: 15.58 kB / 0.7213 GB, free: 120 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.5218, allocations: 143 kB / 0.7214 GB, free: 56 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.522, allocations: 82.5 kB / 0.7215 GB, free: 28 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.522, allocations: 21.84 kB / 0.7215 GB, free: 28 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.591e-05/0.5221, allocations: 35.44 kB / 0.7215 GB, free: 24 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.5221, allocations: 19.97 kB / 0.7215 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.5222, allocations: 81.2 kB / 0.7216 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.5226, allocations: 267 kB / 0.7219 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5226, allocations: 0 / 0.7219 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5226, allocations: 0 / 0.7219 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.5226, allocations: 4 kB / 0.7219 GB, free: 15.87 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006083/0.5232, allocations: 425.6 kB / 0.7223 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.5232, allocations: 9.781 kB / 0.7223 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.071e-05/0.5233, allocations: 15.58 kB / 0.7223 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.5234, allocations: 120.2 kB / 0.7224 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.5234, allocations: 8.188 kB / 0.7224 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.5235, allocations: 18.28 kB / 0.7224 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.5236, allocations: 51.88 kB / 0.7225 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.5236, allocations: 5.094 kB / 0.7225 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.5236, allocations: 4.609 kB / 0.7225 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5237, allocations: 1.766 kB / 0.7225 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.414e-05/0.5237, allocations: 25.58 kB / 0.7225 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.5242, allocations: 316.7 kB / 0.7228 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 6.922e-05/0.5243, allocations: 32.52 kB / 0.7229 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.5243, allocations: 18.62 kB / 0.7229 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.5244, allocations: 0 / 0.7229 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.5246, allocations: 105.5 kB / 0.723 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.5246, allocations: 1.094 kB / 0.723 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0003178/0.5249, allocations: 143 kB / 0.7231 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.5249, allocations: 53.5 kB / 0.7232 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.525, allocations: 148.2 kB / 0.7233 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.5251, allocations: 32.19 kB / 0.7233 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.5252, allocations: 97.17 kB / 0.7234 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.5252, allocations: 26.06 kB / 0.7235 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.5253, allocations: 67.09 kB / 0.7235 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5255, allocations: 320.5 kB / 0.7238 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.5257, allocations: 179.6 kB / 0.724 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.526, allocations: 226.8 kB / 0.7242 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.5264, allocations: 244.6 kB / 0.7245 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5264, allocations: 0.5312 kB / 0.7245 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007997/0.5272, allocations: 468.4 kB / 0.7249 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.492e-05/0.5273, allocations: 97.12 kB / 0.725 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5273, allocations: 1.812 kB / 0.725 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.5273, allocations: 3 kB / 0.725 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.95e-05/0.5273, allocations: 15.97 kB / 0.725 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5273, allocations: 3.219 kB / 0.725 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.5279, allocations: 83.59 kB / 0.7251 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.5279, allocations: 17.81 kB / 0.7251 GB, free: 13.23 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001413/0.528, allocations: 139.8 kB / 0.7252 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.5281, allocations: 8.141 kB / 0.7253 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.5281, allocations: 11.52 kB / 0.7253 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5281, allocations: 1.781 kB / 0.7253 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5281, allocations: 0 / 0.7253 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5281, allocations: 1.828 kB / 0.7253 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.5282, allocations: 131 kB / 0.7254 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5282, allocations: 0 / 0.7254 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.5283, allocations: 6.641 kB / 0.7254 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5283, allocations: 1.656 kB / 0.7254 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.5283, allocations: 2.078 kB / 0.7254 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5283, allocations: 5.188 kB / 0.7254 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5283, allocations: 0.6406 kB / 0.7254 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.5285, allocations: 144.8 kB / 0.7255 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.5285, allocations: 8.094 kB / 0.7256 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.5286, allocations: 2.156 kB / 0.7256 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.384e-05/0.5286, allocations: 1.297 kB / 0.7256 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.5286, allocations: 11.72 kB / 0.7256 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.5286, allocations: 9.234 kB / 0.7256 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.519e-05/0.5287, allocations: 96.92 kB / 0.7257 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.5287, allocations: 0 / 0.7257 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002612/0.529, allocations: 56.47 kB / 0.7257 GB, free: 12.74 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001419/0.5291, allocations: 107.1 kB / 0.7258 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005215/0.5296, allocations: 419.2 kB / 0.7262 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5296, allocations: 0 / 0.7262 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.516e-05/0.5297, allocations: 31.25 kB / 0.7263 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.5299, allocations: 32.25 kB / 0.7263 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.5303, allocations: 190.8 kB / 0.7265 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.353e-05/0.5304, allocations: 81.73 kB / 0.7265 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.5304, allocations: 7.25 kB / 0.7266 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.5305, allocations: 14.34 kB / 0.7266 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.5305, allocations: 0 / 0.7266 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of Templates: time 0.006317/0.5368, allocations: 2.952 MB / 0.7294 GB, free: 11.67 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.198280984535813] Failed to read output from testmodel.py, exit status != 0: 0.5452553760260344 0.560519715 0.034879832 Calling exit ...