Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001742/0.001742, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002231/0.002231, allocations: 214.6 kB / 22.25 MB, free: 5.242 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.62/1.62, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.336/1.336, allocations: 203.5 MB / 0.5038 GB, free: 4.902 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_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.002107/0.002107, allocations: 67.91 kB / 0.7183 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7073/0.7094, allocations: 102 MB / 0.8178 GB, free: 29.07 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002018/0.7115, allocations: 0.587 MB / 0.8184 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.7131, allocations: 1.131 MB / 0.8195 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.7131, allocations: 6.094 kB / 0.8195 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.7131, allocations: 0.9375 kB / 0.8195 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.942e-05/0.7132, allocations: 6.281 kB / 0.8195 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.7137, allocations: 122.1 kB / 0.8196 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.7139, allocations: 90.11 kB / 0.8197 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.714, allocations: 3.922 kB / 0.8197 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.7141, allocations: 42.5 kB / 0.8198 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.7142, allocations: 28.53 kB / 0.8198 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.7142, allocations: 8.531 kB / 0.8198 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.216e-05/0.7143, allocations: 22.45 kB / 0.8198 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.7143, allocations: 3.547 kB / 0.8198 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.7144, allocations: 37.22 kB / 0.8199 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.7146, allocations: 79.39 kB / 0.8199 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7146, allocations: 0 / 0.8199 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7146, allocations: 1.656 kB / 0.8199 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.7146, allocations: 0.8906 kB / 0.8199 GB, free: 27.74 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004344/0.7151, allocations: 308.8 kB / 0.8202 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7151, allocations: 9.938 kB / 0.8203 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.7151, allocations: 4.75 kB / 0.8203 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.565e-05/0.7152, allocations: 108.1 kB / 0.8204 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.7152, allocations: 6.844 kB / 0.8204 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.7153, allocations: 7.047 kB / 0.8204 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.7154, allocations: 48.3 kB / 0.8204 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.7154, allocations: 192 / 0.8204 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.7154, allocations: 3.938 kB / 0.8204 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.7154, allocations: 2.672 kB / 0.8204 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.388e-05/0.7154, allocations: 6.75 kB / 0.8204 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.7158, allocations: 229.3 kB / 0.8207 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.004e-05/0.7159, allocations: 23.33 kB / 0.8207 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.7159, allocations: 17.25 kB / 0.8207 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.7159, allocations: 6.312 kB / 0.8207 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.7161, allocations: 59.73 kB / 0.8208 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.7161, allocations: 0 / 0.8208 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.0002123/0.7163, allocations: 70.38 kB / 0.8208 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.7163, allocations: 57.41 kB / 0.8209 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.7164, allocations: 115.1 kB / 0.821 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.7164, allocations: 29.23 kB / 0.821 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.7164, allocations: 88.19 kB / 0.8211 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.7165, allocations: 13.66 kB / 0.8211 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/0.7165, allocations: 31 kB / 0.8211 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.095e-05/0.7166, allocations: 318.7 kB / 0.8214 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.52e-05/0.7167, allocations: 60.97 kB / 0.8215 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.7168, allocations: 81.09 kB / 0.8216 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.7169, allocations: 85.52 kB / 0.8217 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7169, allocations: 1.062 kB / 0.8217 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002971/0.7172, allocations: 188.5 kB / 0.8218 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.7172, allocations: 40.03 kB / 0.8219 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7172, allocations: 1 kB / 0.8219 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.7173, allocations: 1.844 kB / 0.8219 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.7173, allocations: 2.609 kB / 0.8219 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.7173, allocations: 5.812 kB / 0.8219 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.7175, allocations: 29.59 kB / 0.8219 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.7176, allocations: 9.516 kB / 0.8219 GB, free: 25.9 MB / 0.6387 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 8.422e-05/0.7176, allocations: 121.3 kB / 0.822 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.7177, allocations: 5.719 kB / 0.822 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.7177, allocations: 6.281 kB / 0.8221 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.7177, allocations: 2.531 kB / 0.8221 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7177, allocations: 0 / 0.8221 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7177, allocations: 1.125 kB / 0.8221 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.728e-05/0.7178, allocations: 105.9 kB / 0.8222 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7178, allocations: 1.234 kB / 0.8222 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.7178, allocations: 15.17 kB / 0.8222 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.7178, allocations: 2.469 kB / 0.8222 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.7178, allocations: 0 / 0.8222 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.7178, allocations: 1.703 kB / 0.8222 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7178, allocations: 64 / 0.8222 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.7179, allocations: 89.05 kB / 0.8223 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.7179, allocations: 7.094 kB / 0.8223 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.718, allocations: 4.641 kB / 0.8223 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.443e-05/0.718, allocations: 1.859 kB / 0.8223 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.718, allocations: 11.56 kB / 0.8223 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.718, allocations: 1.156 kB / 0.8223 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.718, allocations: 83.38 kB / 0.8224 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.718, allocations: 0 / 0.8224 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002396/0.7183, allocations: 19.5 kB / 0.8224 GB, free: 25.46 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: 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 0.0001229/0.7184, allocations: 106.6 kB / 0.8225 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.7187, allocations: 144.2 kB / 0.8226 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7187, allocations: 0 / 0.8226 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.481e-05/0.7187, allocations: 13.59 kB / 0.8226 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.7189, allocations: 10.95 kB / 0.8226 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.7192, allocations: 132.8 kB / 0.8228 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.968e-05/0.7193, allocations: 63.81 kB / 0.8228 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.549e-05/0.7193, allocations: 7.422 kB / 0.8228 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.7193, allocations: 9.188 kB / 0.8229 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.7193, allocations: 0.5312 kB / 0.8229 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of Templates: time 0.005903/0.7252, allocations: 1.194 MB / 0.824 GB, free: 24.89 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.343072306364775] Failed to read output from testmodel.py, exit status != 0: 0.7351442351937294 0.752742045 0.034683915 Calling exit ...