Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.001358/0.001358, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001555/0.001555, allocations: 213.4 kB / 22.24 MB, free: 4.859 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.793 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.346/1.346, allocations: 203.8 MB / 0.5041 GB, free: 4.664 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.001999/0.001999, allocations: 59.91 kB / 0.7187 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6145/0.6165, allocations: 102 MB / 0.8183 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.0025/0.619, allocations: 0.7944 MB / 0.819 GB, free: 28.39 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.6209, allocations: 1.309 MB / 0.8203 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.6209, allocations: 1.969 kB / 0.8203 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.903e-05/0.621, allocations: 9.609 kB / 0.8203 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.6211, allocations: 22.53 kB / 0.8204 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008807/0.622, allocations: 322.9 kB / 0.8207 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.6224, allocations: 291.1 kB / 0.8209 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.6225, allocations: 26.34 kB / 0.821 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.6227, allocations: 117.8 kB / 0.8211 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.6229, allocations: 95.66 kB / 0.8212 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.834e-05/0.623, allocations: 27.97 kB / 0.8212 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.6232, allocations: 42.44 kB / 0.8212 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.6233, allocations: 22.83 kB / 0.8213 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.6235, allocations: 94.83 kB / 0.8214 GB, free: 27 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000607/0.6241, allocations: 264.2 kB / 0.8216 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.6241, allocations: 0.5 kB / 0.8216 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.627e-06/0.6241, allocations: 0.5 kB / 0.8216 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.6241, allocations: 2.125 kB / 0.8216 GB, free: 26.91 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000901/0.625, allocations: 466.9 kB / 0.8221 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.625, allocations: 14.95 kB / 0.8221 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.6251, allocations: 18.45 kB / 0.8221 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.6252, allocations: 132.4 kB / 0.8222 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.6253, allocations: 17.44 kB / 0.8222 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.6253, allocations: 17.33 kB / 0.8222 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.6255, allocations: 92.88 kB / 0.8223 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.6255, allocations: 4.625 kB / 0.8223 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.6256, allocations: 2.078 kB / 0.8223 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.6256, allocations: 2.531 kB / 0.8223 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.6257, allocations: 51.53 kB / 0.8224 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000684/0.6264, allocations: 378.5 kB / 0.8228 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.6266, allocations: 71.34 kB / 0.8228 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.6267, allocations: 28.48 kB / 0.8228 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.6267, allocations: 1.781 kB / 0.8228 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.6269, allocations: 121.2 kB / 0.823 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.6269, allocations: 0 / 0.823 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0003847/0.6273, allocations: 174 kB / 0.8231 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.6274, allocations: 62.41 kB / 0.8232 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.6275, allocations: 159.4 kB / 0.8233 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.6275, allocations: 35.11 kB / 0.8234 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.6276, allocations: 110.1 kB / 0.8235 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.6276, allocations: 31.12 kB / 0.8235 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.6278, allocations: 75.59 kB / 0.8236 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.999e-05/0.6278, allocations: 327 kB / 0.8239 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.6281, allocations: 188.1 kB / 0.8241 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.6284, allocations: 241.2 kB / 0.8243 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.6286, allocations: 255.8 kB / 0.8245 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6286, allocations: 0 / 0.8245 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009465/0.6296, allocations: 0.4903 MB / 0.825 GB, free: 24.22 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.409e-05/0.6297, allocations: 96.5 kB / 0.8251 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.6297, allocations: 1.062 kB / 0.8251 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.6297, allocations: 3.391 kB / 0.8251 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.6298, allocations: 17.86 kB / 0.8251 GB, free: 24.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.6298, allocations: 3.297 kB / 0.8251 GB, free: 24.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007474/0.6306, allocations: 79.84 kB / 0.8252 GB, free: 24.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/0.6306, allocations: 21.77 kB / 0.8252 GB, free: 24.11 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001615/0.6308, allocations: 142.5 kB / 0.8254 GB, free: 23.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.6308, allocations: 12.89 kB / 0.8254 GB, free: 23.97 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.6309, allocations: 17.33 kB / 0.8254 GB, free: 23.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6309, allocations: 1.5 kB / 0.8254 GB, free: 23.95 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.6309, allocations: 0 / 0.8254 GB, free: 23.95 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.6309, allocations: 2.828 kB / 0.8254 GB, free: 23.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.6311, allocations: 146.4 kB / 0.8255 GB, free: 23.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6311, allocations: 0 / 0.8255 GB, free: 23.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.6312, allocations: 9.375 kB / 0.8256 GB, free: 23.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.6312, allocations: 5.594 kB / 0.8256 GB, free: 23.81 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.6312, allocations: 10.7 kB / 0.8256 GB, free: 23.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.6312, allocations: 0 / 0.8256 GB, free: 23.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6312, allocations: 10 kB / 0.8256 GB, free: 23.79 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.6315, allocations: 169.8 kB / 0.8257 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.6316, allocations: 12.17 kB / 0.8258 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.6316, allocations: 1.906 kB / 0.8258 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.377e-05/0.6317, allocations: 6.609 kB / 0.8258 GB, free: 23.67 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.6317, allocations: 13.94 kB / 0.8258 GB, free: 23.67 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.6317, allocations: 4.422 kB / 0.8258 GB, free: 23.67 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 9.404e-05/0.6318, allocations: 108.6 kB / 0.8259 GB, free: 23.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6318, allocations: 5.188 kB / 0.8259 GB, free: 23.58 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005107/0.6323, allocations: 56.88 kB / 0.8259 GB, free: 23.57 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0002095/0.6325, allocations: 107.3 kB / 0.826 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008251/0.6334, allocations: 428.8 kB / 0.8265 GB, free: 23.13 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6334, allocations: 1.125 kB / 0.8265 GB, free: 23.13 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.6335, allocations: 42.92 kB / 0.8265 GB, free: 23.12 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.634, allocations: 41.47 kB / 0.8265 GB, free: 23.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006645/0.6347, allocations: 240.2 kB / 0.8268 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.6348, allocations: 94.23 kB / 0.8269 GB, free: 22.86 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.374e-05/0.6348, allocations: 15.48 kB / 0.8269 GB, free: 22.85 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.6349, allocations: 18.75 kB / 0.8269 GB, free: 22.84 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.6349, allocations: 0 / 0.8269 GB, free: 22.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.01091/0.6458, allocations: 3.113 MB / 0.8299 GB, free: 22.47 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.995645713061094] Failed to read output from testmodel.py, exit status != 0: 0.6556985471397638 0.681355209 0.05232686600000001 Calling exit ...