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.001437/0.001437, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001712/0.001712, allocations: 214.5 kB / 22.24 MB, free: 5.262 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.327/1.327, allocations: 203.8 MB / 0.5042 GB, free: 4.582 MB / 414.1 MB " [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.002453/0.002453, allocations: 72.17 kB / 0.7187 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6198/0.6223, allocations: 102 MB / 0.8183 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002025/0.6243, allocations: 0.6745 MB / 0.8189 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.6261, allocations: 1.287 MB / 0.8202 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.6262, allocations: 1.344 kB / 0.8202 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.6262, allocations: 7.875 kB / 0.8202 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.6263, allocations: 19.03 kB / 0.8202 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000827/0.6271, allocations: 316.4 kB / 0.8205 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00034/0.6275, allocations: 251.7 kB / 0.8208 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.6276, allocations: 12.02 kB / 0.8208 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.6277, allocations: 106.3 kB / 0.8209 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.6279, allocations: 85.86 kB / 0.821 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.6279, allocations: 23.25 kB / 0.821 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.624e-05/0.628, allocations: 34.97 kB / 0.821 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.6281, allocations: 15.53 kB / 0.821 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.6282, allocations: 83.64 kB / 0.8211 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.6285, allocations: 214.2 kB / 0.8213 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.6285, allocations: 1.125 kB / 0.8213 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6285, allocations: 0.5625 kB / 0.8213 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.6285, allocations: 1.219 kB / 0.8213 GB, free: 27.1 MB / 0.6387 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.0006141/0.6291, allocations: 420.7 kB / 0.8217 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.6292, allocations: 12.22 kB / 0.8217 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.844e-05/0.6293, allocations: 16.17 kB / 0.8217 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.6294, allocations: 124.4 kB / 0.8219 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.6294, allocations: 11.73 kB / 0.8219 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.6295, allocations: 15.62 kB / 0.8219 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.6296, allocations: 55.66 kB / 0.8219 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.6296, allocations: 11.48 kB / 0.8219 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6296, allocations: 0 / 0.8219 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.6296, allocations: 1.406 kB / 0.8219 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.025e-05/0.6297, allocations: 19.06 kB / 0.822 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.6302, allocations: 317.3 kB / 0.8223 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.274e-05/0.6303, allocations: 32.44 kB / 0.8223 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.6303, allocations: 18.56 kB / 0.8223 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.6303, allocations: 1.719 kB / 0.8223 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.6305, allocations: 100.9 kB / 0.8224 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.6305, allocations: 2.531 kB / 0.8224 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0003335/0.6309, allocations: 142.4 kB / 0.8226 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.6309, allocations: 54.62 kB / 0.8226 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.631, allocations: 140.6 kB / 0.8227 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.631, allocations: 41.38 kB / 0.8228 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.6311, allocations: 97.42 kB / 0.8229 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.6311, allocations: 23.94 kB / 0.8229 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.6313, allocations: 67.27 kB / 0.823 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.6313, allocations: 323.6 kB / 0.8233 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.6315, allocations: 180.6 kB / 0.8234 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.6318, allocations: 223.6 kB / 0.8237 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.632, allocations: 243.1 kB / 0.8239 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.632, allocations: 1.453 kB / 0.8239 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005948/0.6326, allocations: 475.1 kB / 0.8243 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.6326, allocations: 104.8 kB / 0.8244 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.6327, allocations: 1.156 kB / 0.8244 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.6327, allocations: 3.062 kB / 0.8244 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.824e-05/0.6327, allocations: 12.53 kB / 0.8245 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.6327, allocations: 2.703 kB / 0.8245 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.6332, allocations: 80.64 kB / 0.8245 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.6332, allocations: 25.27 kB / 0.8246 GB, free: 24.47 MB / 0.6387 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 9.529e-05/0.6333, allocations: 128.6 kB / 0.8247 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.6334, allocations: 8.453 kB / 0.8247 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.6334, allocations: 11.58 kB / 0.8247 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.6334, allocations: 1.312 kB / 0.8247 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6334, allocations: 3.938 kB / 0.8247 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6334, allocations: 0.6562 kB / 0.8247 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.156e-05/0.6335, allocations: 131.8 kB / 0.8248 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6335, allocations: 192 / 0.8248 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.6335, allocations: 6.203 kB / 0.8248 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6335, allocations: 2.297 kB / 0.8248 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.6335, allocations: 1.766 kB / 0.8248 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6335, allocations: 1 kB / 0.8248 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6335, allocations: 0.7031 kB / 0.8248 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.6337, allocations: 146 kB / 0.825 GB, free: 24.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.6337, allocations: 11.89 kB / 0.825 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.6337, allocations: 2.672 kB / 0.825 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.521e-05/0.6338, allocations: 4.609 kB / 0.825 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.6338, allocations: 8.625 kB / 0.825 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.6338, allocations: 12.36 kB / 0.825 GB, free: 24.08 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.449e-05/0.6339, allocations: 101.8 kB / 0.8251 GB, free: 24 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6339, allocations: 0 / 0.8251 GB, free: 24 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002685/0.6341, allocations: 48.06 kB / 0.8252 GB, free: 23.99 MB / 0.6387 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.0001235/0.6342, allocations: 102.1 kB / 0.8253 GB, free: 23.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.6347, allocations: 419.2 kB / 0.8257 GB, free: 23.55 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6347, allocations: 1.219 kB / 0.8257 GB, free: 23.55 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.335e-05/0.6348, allocations: 36.45 kB / 0.8257 GB, free: 23.54 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.6351, allocations: 28.7 kB / 0.8257 GB, free: 23.53 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.6355, allocations: 186.9 kB / 0.8259 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.668e-05/0.6356, allocations: 81.12 kB / 0.826 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.6356, allocations: 8.219 kB / 0.826 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.6356, allocations: 21.7 kB / 0.826 GB, free: 23.28 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.6356, allocations: 0 / 0.826 GB, free: 23.28 MB / 0.6387 GB Notification: Performance of Templates: time 0.006598/0.6422, allocations: 2.99 MB / 0.8289 GB, free: 22.93 MB / 0.6387 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.939324868842959] Failed to read output from testmodel.py, exit status != 0: 0.6507927905768156 0.662639635 0.031487970000000004 Calling exit ...