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.0007776/0.0007776, 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.0008047/0.0008047, 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.9578/0.9578, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.7467/0.7467, allocations: 203.5 MB / 0.5039 GB, free: 10.75 MB / 410.7 MB " [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: 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.001031/0.001031, allocations: 66.97 kB / 0.7178 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5449/0.5459, allocations: 102 MB / 0.8174 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001403/0.5473, allocations: 0.5883 MB / 0.8179 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.5484, allocations: 1.141 MB / 0.8191 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.5484, allocations: 0 / 0.8191 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.5484, allocations: 3.938 kB / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.5485, allocations: 4.688 kB / 0.8191 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.5489, allocations: 123.9 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.5491, allocations: 85.8 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.5492, allocations: 11.73 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.594e-05/0.5493, allocations: 36.3 kB / 0.8193 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.5494, allocations: 38.62 kB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.5494, allocations: 9.781 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.195e-05/0.5494, allocations: 22.23 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.5495, allocations: 5.547 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.5495, allocations: 25.97 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.5497, allocations: 90.88 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5497, allocations: 0.6094 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5497, allocations: 1.406 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.5497, allocations: 0 / 0.8195 GB, free: 15.84 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.0004419/0.5502, allocations: 311.5 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.5502, allocations: 10.47 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.5502, allocations: 31.41 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.5503, allocations: 4.781 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.4e-05/0.5504, allocations: 105.6 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.5504, allocations: 4.125 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.5504, allocations: 10.2 kB / 0.8199 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.5505, allocations: 37.38 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.5505, allocations: 3.938 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.5505, allocations: 0.5625 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5505, allocations: 4 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.5506, allocations: 13 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.5509, allocations: 255.2 kB / 0.8202 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/0.551, allocations: 26.48 kB / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.551, allocations: 12.72 kB / 0.8203 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.551, allocations: 0.6562 kB / 0.8203 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.5512, allocations: 69.98 kB / 0.8204 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/0.5512, allocations: 0 / 0.8204 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001839/0.5514, allocations: 67.2 kB / 0.8204 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.5514, allocations: 59.2 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.827e-05/0.5515, allocations: 112.5 kB / 0.8206 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.5515, allocations: 29.48 kB / 0.8206 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.5515, allocations: 92.83 kB / 0.8207 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.5515, allocations: 4.938 kB / 0.8207 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.5516, allocations: 30.25 kB / 0.8207 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.5517, allocations: 322.7 kB / 0.821 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.004e-05/0.5518, allocations: 60.36 kB / 0.8211 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.5518, allocations: 78.36 kB / 0.8212 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.82e-05/0.5519, allocations: 90.42 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5519, allocations: 0.9688 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002068/0.5521, allocations: 182.6 kB / 0.8214 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.5522, allocations: 39.48 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5522, allocations: 7.812 kB / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5522, allocations: 0 / 0.8215 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.5523, allocations: 4.453 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.5523, allocations: 1.75 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.5524, allocations: 29.05 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.5524, allocations: 10.19 kB / 0.8215 GB, free: 13.91 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 8.728e-05/0.5525, allocations: 122.6 kB / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/0.5525, allocations: 0.6094 kB / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.5525, allocations: 4.562 kB / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5526, allocations: 3.5 kB / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5526, allocations: 0.7031 kB / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5526, allocations: 0 / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.484e-05/0.5527, allocations: 135 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5527, allocations: 1.688 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/0.5527, allocations: 6.203 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5527, allocations: 0 / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.5527, allocations: 3.109 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5527, allocations: 400 / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5527, allocations: 8 kB / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.5528, allocations: 88.92 kB / 0.8219 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.5528, allocations: 1.938 kB / 0.8219 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.5528, allocations: 5.859 kB / 0.8219 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.468e-05/0.5528, allocations: 1.531 kB / 0.8219 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.5529, allocations: 3.297 kB / 0.8219 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.5529, allocations: 2.25 kB / 0.8219 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.283e-05/0.5529, allocations: 98.58 kB / 0.822 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5529, allocations: 3.938 kB / 0.822 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001471/0.5531, allocations: 16.88 kB / 0.822 GB, free: 13.43 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.0003227/0.5534, allocations: 0.6302 MB / 0.8226 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001975/0.5536, allocations: 140.2 kB / 0.8228 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5536, allocations: 1.281 kB / 0.8228 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.5536, allocations: 13.86 kB / 0.8228 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.5538, allocations: 14.42 kB / 0.8228 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.5549, allocations: 1.507 MB / 0.8243 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.187e-05/0.5549, allocations: 66.36 kB / 0.8243 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.555, allocations: 2.438 kB / 0.8243 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.555, allocations: 16.8 kB / 0.8243 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/0.555, allocations: 0 / 0.8243 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.5726, allocations: 2.619 MB / 0.8269 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.555/7.128, allocations: 5.594 kB / 0.8269 GB, free: 10.31 MB / 0.6198 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: 10.12673728633672] Failed to read output from testmodel.py, exit status != 0: 7.205712833907455 7.216779652 6.664943186 Calling exit ...