Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.0007503/0.0007503, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007793/0.0007793, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.8658/0.8658, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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: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 0.7133/0.7133, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [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.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [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.0008249/0.0008249, allocations: 67.2 kB / 0.7194 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.416, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001266/0.4173, allocations: 0.5893 MB / 0.8196 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008893/0.4182, allocations: 1.138 MB / 0.8207 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.4182, allocations: 7.719 kB / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.4182, allocations: 0 / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.4183, allocations: 4.641 kB / 0.8207 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.4187, allocations: 119 kB / 0.8208 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.4188, allocations: 90.09 kB / 0.8209 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.732e-05/0.4189, allocations: 7.469 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.4189, allocations: 40.31 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.074e-05/0.419, allocations: 33.05 kB / 0.821 GB, free: 0 / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.419, allocations: 7.734 kB / 0.821 GB, free: 16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.103e-05/0.4191, allocations: 22.06 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.4191, allocations: 8.266 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.4191, allocations: 23.02 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.4193, allocations: 88.72 kB / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.4193, allocations: 0 / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4193, allocations: 0 / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.4193, allocations: 3.938 kB / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003671/0.4197, allocations: 307.6 kB / 0.8214 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.4197, allocations: 9.438 kB / 0.8214 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.4197, allocations: 6.281 kB / 0.8214 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.127e-05/0.4198, allocations: 114.6 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.4198, allocations: 3.25 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.4198, allocations: 5.875 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.565e-05/0.4199, allocations: 43.52 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4199, allocations: 192 / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.4199, allocations: 3.938 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4199, allocations: 4.203 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.42, allocations: 7.703 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.4202, allocations: 229.8 kB / 0.8218 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/0.4203, allocations: 30.69 kB / 0.8218 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.4203, allocations: 13.02 kB / 0.8219 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.4203, allocations: 4.844 kB / 0.8219 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.4204, allocations: 63.81 kB / 0.8219 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.4204, allocations: 0 / 0.8219 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001652/0.4206, allocations: 71.41 kB / 0.822 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.4206, allocations: 52.16 kB / 0.822 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.019e-05/0.4207, allocations: 110.8 kB / 0.8221 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.4207, allocations: 31.7 kB / 0.8222 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.4207, allocations: 87.44 kB / 0.8223 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.4208, allocations: 11.39 kB / 0.8223 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.4208, allocations: 33.02 kB / 0.8223 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.4209, allocations: 313.3 kB / 0.8226 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.4209, allocations: 63.56 kB / 0.8227 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.421, allocations: 82.62 kB / 0.8227 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.208e-05/0.4211, allocations: 87.52 kB / 0.8228 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4211, allocations: 0 / 0.8228 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001799/0.4213, allocations: 180.9 kB / 0.823 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.4213, allocations: 33.81 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.4213, allocations: 6.547 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4213, allocations: 5.625 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.4213, allocations: 2.266 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.4214, allocations: 1.562 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.4215, allocations: 32.48 kB / 0.8231 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.4215, allocations: 9.719 kB / 0.8231 GB, free: 14.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 6.341e-05/0.4216, allocations: 116.5 kB / 0.8232 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-06/0.4216, allocations: 5.656 kB / 0.8232 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.4216, allocations: 14.23 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4216, allocations: 1.125 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4216, allocations: 1.062 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4216, allocations: 0.7031 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.266e-05/0.4217, allocations: 117 kB / 0.8233 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4217, allocations: 0 / 0.8233 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.4217, allocations: 6.844 kB / 0.8233 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.4217, allocations: 0 / 0.8233 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.4217, allocations: 5.312 kB / 0.8233 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4217, allocations: 0 / 0.8233 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4217, allocations: 1.219 kB / 0.8233 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.063e-05/0.4218, allocations: 93.31 kB / 0.8234 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.4218, allocations: 6.156 kB / 0.8234 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.4218, allocations: 1.031 kB / 0.8234 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.095e-05/0.4218, allocations: 0.8438 kB / 0.8234 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.4218, allocations: 3.734 kB / 0.8234 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.4218, allocations: 1.094 kB / 0.8234 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.962e-05/0.4218, allocations: 91.69 kB / 0.8235 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4218, allocations: 0 / 0.8235 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001375/0.422, allocations: 16.17 kB / 0.8235 GB, free: 13.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.854e-05/0.4221, allocations: 105.6 kB / 0.8236 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001622/0.4222, allocations: 141.1 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4222, allocations: 1.812 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/0.4223, allocations: 16.69 kB / 0.8238 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.4224, allocations: 6.719 kB / 0.8238 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.4226, allocations: 163.6 kB / 0.824 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.4227, allocations: 68.38 kB / 0.824 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.4227, allocations: 8.812 kB / 0.824 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.4227, allocations: 5.562 kB / 0.824 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of Templates: time 0.001835/0.4245, allocations: 0.9425 MB / 0.825 GB, free: 13.11 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2720238491892815] Failed to read output from testmodel.py, exit status != 0: 0.43009291915223 0.438964461 0.017895883 Calling exit ...