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.000805/0.000805, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009845/0.0009845, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9731/0.9731, allocations: 230.6 MB / 256 MB, free: 9.812 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.7782/0.7782, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.001015/0.001015, allocations: 71.67 kB / 0.7182 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5551/0.5561, allocations: 102 MB / 0.8178 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001441/0.5575, allocations: 0.599 MB / 0.8184 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009986/0.5585, allocations: 1.164 MB / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.5586, allocations: 0 / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.5586, allocations: 0.6094 kB / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.5586, allocations: 15.62 kB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.5591, allocations: 117.6 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.5593, allocations: 90.17 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.628e-05/0.5594, allocations: 6.172 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.001e-05/0.5594, allocations: 40.39 kB / 0.8198 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.679e-05/0.5595, allocations: 32.53 kB / 0.8199 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.5595, allocations: 10.38 kB / 0.8199 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.39e-05/0.5596, allocations: 22.61 kB / 0.8199 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.5596, allocations: 2.172 kB / 0.8199 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.5597, allocations: 35.25 kB / 0.8199 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.5598, allocations: 87.48 kB / 0.82 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5598, allocations: 0 / 0.82 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5598, allocations: 0 / 0.82 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5598, allocations: 0 / 0.82 GB, free: 15.85 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.0004107/0.5603, allocations: 309.1 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.5603, allocations: 7.094 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.532e-05/0.5603, allocations: 35.27 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.5604, allocations: 4.578 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.393e-05/0.5604, allocations: 108.1 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.5605, allocations: 12.59 kB / 0.8205 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.5605, allocations: 9.562 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.081e-05/0.5606, allocations: 35.31 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.5606, allocations: 3.938 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.5606, allocations: 0.6562 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5606, allocations: 1.406 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.5606, allocations: 11.58 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.561, allocations: 266.5 kB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.101e-05/0.561, allocations: 31.83 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.561, allocations: 12.7 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.096e-06/0.561, allocations: 3.938 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.5612, allocations: 61.69 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.5612, allocations: 0 / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001656/0.5613, allocations: 67.39 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.5614, allocations: 63.73 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.5617, allocations: 111.4 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.5617, allocations: 27.7 kB / 0.8211 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.5618, allocations: 88.53 kB / 0.8212 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.5618, allocations: 6.609 kB / 0.8212 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.5618, allocations: 34.31 kB / 0.8213 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.5619, allocations: 320.4 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.562, allocations: 25.23 kB / 0.8216 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.294e-05/0.562, allocations: 57.25 kB / 0.8216 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.845e-05/0.5621, allocations: 87.33 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5621, allocations: 0 / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000182/0.5623, allocations: 153.6 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.5623, allocations: 37.75 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.5624, allocations: 4.062 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5624, allocations: 4.281 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/0.5624, allocations: 0 / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5624, allocations: 1.344 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.5625, allocations: 28.58 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.5626, allocations: 10.33 kB / 0.822 GB, free: 14.02 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.85e-05/0.5626, allocations: 123.8 kB / 0.8221 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.5626, allocations: 6.266 kB / 0.8221 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.5627, allocations: 12.84 kB / 0.8221 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5627, allocations: 0 / 0.8221 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5627, allocations: 0 / 0.8221 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5627, allocations: 0.6562 kB / 0.8221 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.685e-05/0.5628, allocations: 141.3 kB / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5628, allocations: 2.562 kB / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.07e-05/0.5628, allocations: 0.7031 kB / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5628, allocations: 1.719 kB / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.5628, allocations: 1.5 kB / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5628, allocations: 0.6562 kB / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5628, allocations: 7.938 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.593e-05/0.5629, allocations: 92.17 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-06/0.5629, allocations: 3.125 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.5629, allocations: 0.6562 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-06/0.5629, allocations: 0.7031 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.5629, allocations: 6.844 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.5629, allocations: 2.562 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.563, allocations: 91.19 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.563, allocations: 0 / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001457/0.5631, allocations: 17.41 kB / 0.8224 GB, free: 13.54 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.0002797/0.5634, allocations: 0.6284 MB / 0.8231 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.5636, allocations: 115.6 kB / 0.8232 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5636, allocations: 0 / 0.8232 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.5636, allocations: 14.23 kB / 0.8232 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.5637, allocations: 7.203 kB / 0.8232 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.5647, allocations: 1.392 MB / 0.8246 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.5649, allocations: 0.6843 MB / 0.8252 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.192e-05/0.5649, allocations: 2.031 kB / 0.8252 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.565, allocations: 15.27 kB / 0.8252 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.565, allocations: 0 / 0.8252 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.5812, allocations: 2.116 MB / 0.8273 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.562/7.143, allocations: 10.8 kB / 0.8273 GB, free: 10.39 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: 10.106952968984842] Failed to read output from testmodel.py, exit status != 0: 7.219779909821227 7.230969087 6.6691217609999995 Calling exit ...