Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.001112/0.001112, allocations: 106 kB / 18.93 MB, free: 1.137 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.001393/0.001393, allocations: 216.7 kB / 22.26 MB, free: 2.457 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.9051/0.9051, allocations: 230.6 MB / 256 MB, free: 3.434 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03821/0.03821, allocations: 12.19 MB / 324.6 MB, free: 3.512 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004434/0.0004434, allocations: 25.56 kB / 384.1 MB, free: 45.59 MB / 298.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.786/1.786, allocations: 353.8 MB / 0.7787 GB, free: 13.06 MB / 0.5262 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001581/0.001581, allocations: 119.9 kB / 1.06 GB, free: 9.93 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2553, allocations: 134.9 MB / 1.192 GB, free: 3.109 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001774/0.2571, allocations: 0.5905 MB / 1.192 GB, free: 2.52 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2583, allocations: 1.169 MB / 1.193 GB, free: 1.34 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.2584, allocations: 0 / 1.193 GB, free: 1.34 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.2584, allocations: 0 / 1.193 GB, free: 1.34 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.529e-05/0.2585, allocations: 7.922 kB / 1.193 GB, free: 1.332 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.2591, allocations: 131.1 kB / 1.194 GB, free: 1.207 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.2593, allocations: 87.83 kB / 1.194 GB, free: 1.121 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2594, allocations: 8 kB / 1.194 GB, free: 1.113 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.976e-05/0.2595, allocations: 35.91 kB / 1.194 GB, free: 1.078 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.2596, allocations: 39.83 kB / 1.194 GB, free: 1.039 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.2596, allocations: 8 kB / 1.194 GB, free: 1.031 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.754e-05/0.2597, allocations: 23.98 kB / 1.194 GB, free: 1.008 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.2597, allocations: 0 / 1.194 GB, free: 1.008 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.2598, allocations: 39.84 kB / 1.194 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.26, allocations: 84.06 kB / 1.194 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.26, allocations: 7.938 kB / 1.194 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.755e-06/0.26, allocations: 0 / 1.194 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.26, allocations: 0 / 1.194 GB, free: 0.8789 MB / 0.823 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.0005044/0.2605, allocations: 300 kB / 1.194 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.2605, allocations: 11.98 kB / 1.194 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.2606, allocations: 34.73 kB / 1.194 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.2606, allocations: 8.938 kB / 1.194 GB, free: 496 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.2608, allocations: 114.4 kB / 1.194 GB, free: 356 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.2608, allocations: 12.31 kB / 1.194 GB, free: 344 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.2608, allocations: 4.375 kB / 1.194 GB, free: 340 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.022e-05/0.2609, allocations: 38.25 kB / 1.194 GB, free: 296 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2609, allocations: 3.938 kB / 1.194 GB, free: 292 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2609, allocations: 4 kB / 1.194 GB, free: 288 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2609, allocations: 0 / 1.194 GB, free: 288 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.782e-05/0.261, allocations: 11.98 kB / 1.194 GB, free: 276 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.2613, allocations: 256 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.774e-05/0.2614, allocations: 34.45 kB / 1.195 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.2614, allocations: 16.91 kB / 1.195 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.2614, allocations: 0 / 1.195 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.2616, allocations: 59.39 kB / 1.195 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.2616, allocations: 0 / 1.195 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of matching and sorting (n=4): time 0.0001912/0.2618, allocations: 73.72 kB / 1.195 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.2619, allocations: 55.41 kB / 1.195 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.707e-05/0.2619, allocations: 109.8 kB / 1.195 GB, free: 15.58 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.2619, allocations: 29.7 kB / 1.195 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.262, allocations: 84.14 kB / 1.195 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.262, allocations: 15.92 kB / 1.195 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.2621, allocations: 29.7 kB / 1.195 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.2621, allocations: 310.8 kB / 1.195 GB, free: 15.1 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.2622, allocations: 31.98 kB / 1.195 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.2623, allocations: 58.59 kB / 1.196 GB, free: 15 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.025e-05/0.2623, allocations: 84.16 kB / 1.196 GB, free: 14.9 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2623, allocations: 0 / 1.196 GB, free: 14.9 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00018/0.2625, allocations: 159.2 kB / 1.196 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.2626, allocations: 41.58 kB / 1.196 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2626, allocations: 4.062 kB / 1.196 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2626, allocations: 4 kB / 1.196 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.949e-05/0.2626, allocations: 4 kB / 1.196 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.2626, allocations: 4 kB / 1.196 GB, free: 14.67 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.2628, allocations: 23.97 kB / 1.196 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2628, allocations: 7.984 kB / 1.196 GB, free: 14.64 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.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.691e-05/0.2629, allocations: 121.7 kB / 1.196 GB, free: 14.51 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.2629, allocations: 11.95 kB / 1.196 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.2629, allocations: 4 kB / 1.196 GB, free: 14.49 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2629, allocations: 0 / 1.196 GB, free: 14.49 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2629, allocations: 64 / 1.196 GB, free: 14.49 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2629, allocations: 7.984 kB / 1.196 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.972e-05/0.263, allocations: 136.7 kB / 1.196 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.263, allocations: 0 / 1.196 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.547e-05/0.263, allocations: 4 kB / 1.196 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.263, allocations: 0 / 1.196 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2631, allocations: 3.984 kB / 1.196 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.2631, allocations: 0 / 1.196 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2631, allocations: 4 kB / 1.196 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.2632, allocations: 81.06 kB / 1.196 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.2632, allocations: 11.89 kB / 1.196 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.2632, allocations: 0 / 1.196 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.456e-05/0.2632, allocations: 7.984 kB / 1.196 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.2632, allocations: 7.938 kB / 1.196 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2632, allocations: 0 / 1.196 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.574e-05/0.2633, allocations: 87.66 kB / 1.196 GB, free: 14.08 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2633, allocations: 4 kB / 1.196 GB, free: 14.08 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001549/0.2634, allocations: 16 kB / 1.196 GB, free: 14.06 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,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.0003408/0.2638, allocations: 0.6202 MB / 1.197 GB, free: 13.41 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.264, allocations: 111.3 kB / 1.197 GB, free: 13.29 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.264, allocations: 4.125 kB / 1.197 GB, free: 13.29 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/0.264, allocations: 12 kB / 1.197 GB, free: 13.28 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.2642, allocations: 13.48 kB / 1.197 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.2653, allocations: 1.41 MB / 1.198 GB, free: 11.76 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.2655, allocations: 0.6874 MB / 1.199 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.428e-05/0.2655, allocations: 3.984 kB / 1.199 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.2656, allocations: 15.44 kB / 1.199 GB, free: 11.03 MB / 0.8387 GB Notification: Performance of SimCode: time 1.022e-06/0.2656, allocations: 0 / 1.199 GB, free: 11.03 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.2855, allocations: 2.132 MB / 1.201 GB, free: 9.051 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/7.039, allocations: 0 / 1.201 GB, free: 9.051 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.625697628594935] Failed to read output from testmodel.py, exit status != 0: 7.1161468448117375 7.1252292 6.863221783 Calling exit ...