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.001086/0.001086, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001253/0.001253, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.936/0.936, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7015/0.7015, allocations: 154.6 MB / 413.8 MB, free: 0.793 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.787e-05, allocations: 9.453 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001381/0.001409, allocations: 0.5895 MB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.002615, allocations: 1.139 MB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.002663, allocations: 0 / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.002694, allocations: 3.938 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.98e-05/0.002764, allocations: 11.91 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.003198, allocations: 114.3 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.003325, allocations: 95.81 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/0.003411, allocations: 4 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.133e-05/0.003493, allocations: 47.95 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.702e-05/0.00359, allocations: 27.95 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.00361, allocations: 8 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.437e-05/0.003664, allocations: 23.92 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.003684, allocations: 15.86 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.003725, allocations: 23.98 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.003867, allocations: 95.83 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003869, allocations: 3.938 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.00387, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003874, allocations: 3.938 kB / 0.6202 GB, free: 11.48 MB / 0.5886 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.0003558/0.004229, allocations: 303.9 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.004267, allocations: 12.03 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.601e-05/0.004293, allocations: 30.75 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.004323, allocations: 4.938 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.004682, allocations: 121.7 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.004701, allocations: 4.375 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.004715, allocations: 4.375 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.874e-05/0.004794, allocations: 38.25 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.004801, allocations: 4.188 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.004809, allocations: 384 / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.004814, allocations: 4.125 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.004848, allocations: 4 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.005178, allocations: 256 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.087e-05/0.005229, allocations: 26.58 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.005245, allocations: 4.922 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.005254, allocations: 4 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.00538, allocations: 67.33 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.00538, allocations: 3.938 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001888/0.005569, allocations: 77.61 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.005601, allocations: 55.41 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.874e-05/0.00566, allocations: 105.8 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.005676, allocations: 29.7 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.005718, allocations: 88.14 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.005727, allocations: 7.953 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.00577, allocations: 29.7 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.011e-05/0.00584, allocations: 318.8 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.005906, allocations: 61.69 kB / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.005971, allocations: 80.25 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.226e-05/0.006043, allocations: 84.2 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.006045, allocations: 0 / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001753/0.00622, allocations: 192.9 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.006248, allocations: 41.62 kB / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.006254, allocations: 4 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.006264, allocations: 0 / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.121e-05/0.006305, allocations: 0 / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.006313, allocations: 8 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.006442, allocations: 35.84 kB / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.006454, allocations: 4 kB / 0.6222 GB, free: 9.148 MB / 0.5886 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.253e-05/0.006516, allocations: 122.9 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-06/0.006524, allocations: 7.938 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.006544, allocations: 8 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006546, allocations: 0 / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.00655, allocations: 0 / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.006554, allocations: 4 kB / 0.6224 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.655e-05/0.006631, allocations: 132.7 kB / 0.6225 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006632, allocations: 0 / 0.6225 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-06/0.006641, allocations: 7.938 kB / 0.6225 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006642, allocations: 0 / 0.6225 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.00665, allocations: 3.984 kB / 0.6225 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.006651, allocations: 8 kB / 0.6225 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006652, allocations: 0 / 0.6225 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.369e-05/0.006725, allocations: 81.06 kB / 0.6226 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.006736, allocations: 11.89 kB / 0.6226 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.006744, allocations: 0 / 0.6226 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/0.006754, allocations: 7.984 kB / 0.6226 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.006775, allocations: 0 / 0.6226 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.006779, allocations: 4 kB / 0.6226 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.754e-05/0.006807, allocations: 87.27 kB / 0.6227 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006807, allocations: 0 / 0.6227 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001429/0.00695, allocations: 16 kB / 0.6227 GB, free: 8.582 MB / 0.5886 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.0002605/0.007211, allocations: 0.6241 MB / 0.6233 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.007382, allocations: 137.1 kB / 0.6235 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007383, allocations: 4 kB / 0.6235 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.36e-05/0.007407, allocations: 19.92 kB / 0.6235 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.00755, allocations: 5.875 kB / 0.6235 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.008568, allocations: 1.512 MB / 0.625 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.389e-05/0.008612, allocations: 71.47 kB / 0.625 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.84e-05/0.008631, allocations: 4 kB / 0.625 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.008661, allocations: 16.48 kB / 0.6251 GB, free: 6 MB / 0.5886 GB Notification: Performance of SimCode: time 6.51e-07/0.008662, allocations: 96 / 0.6251 GB, free: 6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.02365, allocations: 2.76 MB / 0.6278 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.652/6.676, allocations: 6.516 kB / 0.6278 GB, free: 3.418 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.500273775309324] Failed to read output from testmodel.py, exit status != 0: 6.75646514352411 6.769829338 6.763903598 Calling exit ...