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.0007546/0.0007546, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 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.0008323/0.0008323, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9348/0.9348, allocations: 230.6 MB / 256 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.787/0.787, allocations: 203.8 MB / 0.5042 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [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.0009114/0.0009114, allocations: 70.73 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5355/0.5364, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001542/0.538, allocations: 0.5872 MB / 0.8183 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.5391, allocations: 1.139 MB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.5392, allocations: 0 / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.5392, allocations: 0 / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.5393, allocations: 7.469 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.5397, allocations: 124.6 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.5399, allocations: 95.61 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.54, allocations: 12.09 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.291e-05/0.54, allocations: 33.59 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.5401, allocations: 30.17 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.5402, allocations: 8.281 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.304e-05/0.5402, allocations: 22.45 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.5402, allocations: 5.406 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.182e-05/0.5403, allocations: 32.11 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.5405, allocations: 86.11 kB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5405, allocations: 0 / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5405, allocations: 0 / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5405, allocations: 0 / 0.8199 GB, free: 15.64 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.0004231/0.5409, allocations: 309.3 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.541, allocations: 11.02 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.541, allocations: 36.8 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.541, allocations: 5.672 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.31e-05/0.5411, allocations: 113.7 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.5411, allocations: 12.28 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.5412, allocations: 4.281 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.11e-05/0.5412, allocations: 40.69 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.5413, allocations: 4.547 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.5413, allocations: 0 / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5413, allocations: 1.188 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.5413, allocations: 14.62 kB / 0.8204 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.5417, allocations: 246.2 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/0.5417, allocations: 34.08 kB / 0.8207 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.5418, allocations: 12.5 kB / 0.8207 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.5418, allocations: 2.594 kB / 0.8207 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.5419, allocations: 59.53 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.5419, allocations: 0 / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001884/0.5421, allocations: 67.92 kB / 0.8208 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.5422, allocations: 54.72 kB / 0.8209 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.967e-05/0.5422, allocations: 118.3 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.5423, allocations: 32.36 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.5423, allocations: 87.17 kB / 0.8211 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.5423, allocations: 5.875 kB / 0.8211 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.5424, allocations: 30.91 kB / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.5425, allocations: 319.2 kB / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.5425, allocations: 59.7 kB / 0.8215 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.24e-05/0.5426, allocations: 80 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.543, allocations: 90.06 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.543, allocations: 3.938 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001947/0.5432, allocations: 183.9 kB / 0.8218 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.5432, allocations: 33.7 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5432, allocations: 1.938 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5432, allocations: 0 / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.5433, allocations: 3.297 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5433, allocations: 2.75 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.5434, allocations: 31.92 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.5435, allocations: 6.781 kB / 0.8219 GB, free: 13.71 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 7.122e-05/0.5435, allocations: 127.8 kB / 0.822 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.5435, allocations: 5.688 kB / 0.8221 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.5436, allocations: 5.953 kB / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5436, allocations: 0.8438 kB / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5436, allocations: 6.281 kB / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5436, allocations: 0.5625 kB / 0.8221 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.904e-05/0.5437, allocations: 135.4 kB / 0.8222 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5437, allocations: 0 / 0.8222 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.5437, allocations: 6.672 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5437, allocations: 1.375 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.5437, allocations: 4.562 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.5437, allocations: 2.297 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5437, allocations: 0 / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.5438, allocations: 93.88 kB / 0.8223 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.5438, allocations: 1.609 kB / 0.8223 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.5438, allocations: 2.422 kB / 0.8223 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.5438, allocations: 0.7969 kB / 0.8223 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.5439, allocations: 11.14 kB / 0.8223 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.5439, allocations: 7.297 kB / 0.8223 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.954e-05/0.5439, allocations: 78.72 kB / 0.8224 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5439, allocations: 4 kB / 0.8224 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001427/0.544, allocations: 20.12 kB / 0.8224 GB, free: 13.23 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 0.0003003/0.5443, allocations: 0.6268 MB / 0.823 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.5445, allocations: 140.2 kB / 0.8232 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.5445, allocations: 0 / 0.8232 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.5445, allocations: 14.16 kB / 0.8232 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.5447, allocations: 10.73 kB / 0.8232 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.5459, allocations: 1.518 MB / 0.8247 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.614e-05/0.5459, allocations: 67.8 kB / 0.8247 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.5459, allocations: 2.891 kB / 0.8247 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.546, allocations: 11.08 kB / 0.8247 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/0.546, allocations: 0 / 0.8247 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.5647, allocations: 2.628 MB / 0.8273 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.31/6.874, allocations: 5.469 kB / 0.8273 GB, free: 10.1 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.777281208895147] Failed to read output from testmodel.py, exit status != 0: 6.950357927940786 6.969534558 6.426860436 Calling exit ...