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.001378/0.001378, allocations: 81.94 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.001559/0.001559, allocations: 172.2 kB / 22.44 MB, free: 5.348 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.406/1.406, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.195/1.195, allocations: 155 MB / 414.2 MB, free: 4.922 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.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.002063/0.002063, allocations: 74.5 kB / 0.6191 GB, free: 4.203 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.5701/0.5722, allocations: 102 MB / 0.7187 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001743/0.5739, allocations: 0.6039 MB / 0.7193 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.5751, allocations: 1.136 MB / 0.7204 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.5752, allocations: 0 / 0.7204 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.5752, allocations: 3.938 kB / 0.7204 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.75e-05/0.5753, allocations: 15.3 kB / 0.7204 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.5757, allocations: 121.6 kB / 0.7205 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.5758, allocations: 82.64 kB / 0.7206 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.481e-05/0.5759, allocations: 11.94 kB / 0.7206 GB, free: 472 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.335e-05/0.576, allocations: 47.3 kB / 0.7207 GB, free: 452 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.568e-05/0.5761, allocations: 31.27 kB / 0.7207 GB, free: 440 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.5761, allocations: 11.56 kB / 0.7207 GB, free: 436 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.978e-05/0.5762, allocations: 25.53 kB / 0.7207 GB, free: 428 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.5762, allocations: 6.297 kB / 0.7207 GB, free: 424 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.5763, allocations: 35.33 kB / 0.7208 GB, free: 404 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.5765, allocations: 103.4 kB / 0.7209 GB, free: 364 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5765, allocations: 0 / 0.7209 GB, free: 364 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5765, allocations: 0 / 0.7209 GB, free: 364 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.5765, allocations: 0 / 0.7209 GB, free: 364 kB / 0.6075 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.0003891/0.5769, allocations: 304.4 kB / 0.7212 GB, free: 48 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5769, allocations: 10.97 kB / 0.7212 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.5769, allocations: 6.234 kB / 0.7212 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.5771, allocations: 114.2 kB / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.5771, allocations: 7.844 kB / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.5771, allocations: 9.797 kB / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.5772, allocations: 35.89 kB / 0.7213 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.5772, allocations: 192 / 0.7213 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.5773, allocations: 16.42 kB / 0.7213 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5773, allocations: 1.219 kB / 0.7214 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.5773, allocations: 6.125 kB / 0.7214 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.5777, allocations: 231.1 kB / 0.7216 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 6.184e-05/0.5778, allocations: 22.69 kB / 0.7216 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.5778, allocations: 12.11 kB / 0.7216 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.5778, allocations: 5.953 kB / 0.7216 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.5779, allocations: 66.38 kB / 0.7217 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.5779, allocations: 0 / 0.7217 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4): time 0.0002267/0.5782, allocations: 69.81 kB / 0.7217 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.5782, allocations: 53.36 kB / 0.7218 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.5783, allocations: 112 kB / 0.7219 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.5784, allocations: 26.98 kB / 0.7219 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.5784, allocations: 88.78 kB / 0.722 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.5784, allocations: 13.11 kB / 0.722 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.5785, allocations: 30.38 kB / 0.7221 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5787, allocations: 319.2 kB / 0.7224 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.5788, allocations: 65.2 kB / 0.7224 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.5789, allocations: 78.44 kB / 0.7225 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.579, allocations: 81.69 kB / 0.7226 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.579, allocations: 5.188 kB / 0.7226 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003127/0.5793, allocations: 187 kB / 0.7228 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.5794, allocations: 38.52 kB / 0.7228 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5794, allocations: 1.531 kB / 0.7228 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5794, allocations: 1.469 kB / 0.7228 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.5795, allocations: 7.438 kB / 0.7228 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5795, allocations: 4.328 kB / 0.7228 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.5797, allocations: 28.98 kB / 0.7228 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.5797, allocations: 6.562 kB / 0.7228 GB, free: 14.5 MB / 0.6231 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 0.0001266/0.5798, allocations: 121.3 kB / 0.723 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.5799, allocations: 5.406 kB / 0.723 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.5799, allocations: 6.297 kB / 0.723 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.5799, allocations: 1.344 kB / 0.723 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5799, allocations: 0 / 0.723 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5799, allocations: 6.031 kB / 0.723 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.58, allocations: 111.2 kB / 0.7231 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.58, allocations: 0.7031 kB / 0.7231 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.58, allocations: 10.06 kB / 0.7231 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.58, allocations: 0.6562 kB / 0.7231 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.5801, allocations: 1.094 kB / 0.7231 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.5801, allocations: 5.609 kB / 0.7231 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5801, allocations: 3.984 kB / 0.7231 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.5802, allocations: 84.91 kB / 0.7232 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.5802, allocations: 6.984 kB / 0.7232 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.5802, allocations: 6.125 kB / 0.7232 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.384e-05/0.5803, allocations: 0 / 0.7232 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.5803, allocations: 7.625 kB / 0.7232 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.5803, allocations: 1.656 kB / 0.7232 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.5804, allocations: 83.67 kB / 0.7233 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5804, allocations: 0 / 0.7233 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002186/0.5806, allocations: 24.16 kB / 0.7233 GB, free: 14.05 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: 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.000151/0.5807, allocations: 97.03 kB / 0.7234 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.581, allocations: 148.3 kB / 0.7235 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.581, allocations: 5.531 kB / 0.7235 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.46e-05/0.581, allocations: 9.609 kB / 0.7236 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.5812, allocations: 10.52 kB / 0.7236 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.5816, allocations: 134.1 kB / 0.7237 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.594e-05/0.5816, allocations: 63.59 kB / 0.7238 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.986e-05/0.5817, allocations: 2.609 kB / 0.7238 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.5817, allocations: 11.27 kB / 0.7238 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.5817, allocations: 3.938 kB / 0.7238 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of Templates: time 0.004226/0.5859, allocations: 1.184 MB / 0.7249 GB, free: 13.48 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.0590016935020685] Failed to read output from testmodel.py, exit status != 0: 0.5941998716443777 0.6088396650000001 0.029236878 Calling exit ...