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.0009169/0.0009169, allocations: 80.44 kB / 19.91 MB, free: 4 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.0009083/0.0009083, allocations: 169.2 kB / 23.19 MB, free: 1.371 MB / 18.57 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.9172/0.9172, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7405/0.7405, allocations: 154.7 MB / 414.7 MB, free: 0.7617 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 179] 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.0009437/0.0009437, allocations: 75.89 kB / 0.6195 GB, free: 13.15 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4732/0.4742, allocations: 101.9 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001284/0.4754, allocations: 0.5763 MB / 0.7196 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009132/0.4763, allocations: 1.148 MB / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.4764, allocations: 1.25 kB / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.4764, allocations: 0 / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.805e-05/0.4765, allocations: 6.375 kB / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.4768, allocations: 122.5 kB / 0.7209 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.477, allocations: 94.78 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.404e-05/0.4771, allocations: 7.859 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.4771, allocations: 56.25 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.252e-05/0.4772, allocations: 26.39 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.4772, allocations: 11.8 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.257e-05/0.4773, allocations: 21.05 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.4773, allocations: 2.391 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.509e-05/0.4774, allocations: 30.22 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.4775, allocations: 106.8 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4775, allocations: 1.828 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4775, allocations: 0 / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4775, allocations: 0 / 0.7212 GB, free: 22.22 MB / 0.6355 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.0003381/0.4779, allocations: 300.2 kB / 0.7215 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.4779, allocations: 13.25 kB / 0.7215 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.4779, allocations: 10.12 kB / 0.7215 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.539e-05/0.478, allocations: 113.8 kB / 0.7217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.478, allocations: 2.969 kB / 0.7217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.478, allocations: 9.625 kB / 0.7217 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.944e-05/0.4781, allocations: 45.09 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.4781, allocations: 192 / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.4781, allocations: 3.938 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4781, allocations: 1.734 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.4782, allocations: 10.22 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.4784, allocations: 225.7 kB / 0.7219 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.4785, allocations: 34.28 kB / 0.722 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.4785, allocations: 8.25 kB / 0.722 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.4785, allocations: 5.438 kB / 0.722 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.7e-05/0.4786, allocations: 59.34 kB / 0.722 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.4786, allocations: 1.406 kB / 0.722 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001701/0.4788, allocations: 76.5 kB / 0.7221 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.4788, allocations: 53.31 kB / 0.7222 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.619e-05/0.4788, allocations: 109.9 kB / 0.7223 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4789, allocations: 32.88 kB / 0.7223 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.4789, allocations: 87.88 kB / 0.7224 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.4789, allocations: 5.766 kB / 0.7224 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.4789, allocations: 36.2 kB / 0.7224 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.964e-05/0.479, allocations: 313.7 kB / 0.7227 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.479, allocations: 60.45 kB / 0.7228 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.4791, allocations: 79.11 kB / 0.7229 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.051e-05/0.4792, allocations: 93.88 kB / 0.7229 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4792, allocations: 1.125 kB / 0.7229 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001666/0.4793, allocations: 187.2 kB / 0.7231 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.4794, allocations: 38.56 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4794, allocations: 0 / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.4794, allocations: 1.156 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.4794, allocations: 3.906 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.4794, allocations: 1.547 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.4796, allocations: 29.27 kB / 0.7232 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.4796, allocations: 4.953 kB / 0.7232 GB, free: 20.37 MB / 0.6355 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 5.043e-05/0.4796, allocations: 125.6 kB / 0.7233 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.4797, allocations: 5.703 kB / 0.7233 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.4797, allocations: 10.09 kB / 0.7233 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4797, allocations: 1.781 kB / 0.7233 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.4797, allocations: 3.938 kB / 0.7233 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.4797, allocations: 7.5 kB / 0.7234 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.4797, allocations: 0.7969 kB / 0.7234 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-06/0.4797, allocations: 5.25 kB / 0.7234 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.4797, allocations: 7.562 kB / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.121e-05/0.4798, allocations: 135.1 kB / 0.7235 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.731e-05/0.4799, allocations: 229.4 kB / 0.7237 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.488e-05/0.4799, allocations: 16.94 kB / 0.7237 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.216e-05/0.4799, allocations: 87.19 kB / 0.7238 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of Backend: time 1.2e-07/0.4799, allocations: 0 / 0.7238 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.4803, allocations: 213.1 kB / 0.724 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003588/0.4807, allocations: 0.5757 MB / 0.7246 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of Templates: time 0.003381/0.484, allocations: 1.253 MB / 0.7258 GB, free: 18.87 MB / 0.6355 GB " [Timeout remaining time 660] 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: 4.268393692094833] Failed to read output from testmodel.py, exit status != 0: 0.4899612609297037 0.49941758100000005 0.019897357 Calling exit ...