Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0008912/0.0008912, 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.0009196/0.0009196, allocations: 213.8 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.9514/0.9514, allocations: 230.6 MB / 256 MB, free: 9.824 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.03685/0.03685, allocations: 12.18 MB / 324.6 MB, free: 6.371 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.0004407/0.0004407, allocations: 31.94 kB / 384.1 MB, free: 10.78 MB / 314.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.686/1.686, allocations: 353.8 MB / 0.7787 GB, free: 3.121 MB / 0.5105 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.BooleanToInteger,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",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.001625/0.001625, allocations: 123.9 kB / 1.06 GB, free: 25.01 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2405, allocations: 134.9 MB / 1.192 GB, free: 7.949 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001518/0.242, allocations: 0.5906 MB / 1.192 GB, free: 7.359 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.2432, allocations: 1.18 MB / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.2433, allocations: 0 / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.2433, allocations: 3.938 kB / 1.193 GB, free: 6.164 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.2434, allocations: 3.938 kB / 1.193 GB, free: 6.16 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.2438, allocations: 126 kB / 1.194 GB, free: 6.039 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.244, allocations: 87.89 kB / 1.194 GB, free: 5.953 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.859e-05/0.2441, allocations: 4 kB / 1.194 GB, free: 5.949 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.23e-05/0.2442, allocations: 43.89 kB / 1.194 GB, free: 5.906 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.246e-05/0.2442, allocations: 27.91 kB / 1.194 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.2443, allocations: 8 kB / 1.194 GB, free: 5.871 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.2443, allocations: 19.98 kB / 1.194 GB, free: 5.852 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.2443, allocations: 11.98 kB / 1.194 GB, free: 5.84 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.2444, allocations: 35.84 kB / 1.194 GB, free: 5.805 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.2446, allocations: 84.02 kB / 1.194 GB, free: 5.723 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2446, allocations: 4 kB / 1.194 GB, free: 5.719 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.654e-06/0.2446, allocations: 0 / 1.194 GB, free: 5.719 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.2446, allocations: 0 / 1.194 GB, free: 5.719 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.0004089/0.245, allocations: 305 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.245, allocations: 8.031 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.2451, allocations: 30.75 kB / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.2451, allocations: 4.938 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.616e-05/0.2452, allocations: 118.4 kB / 1.194 GB, free: 5.191 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.2452, allocations: 8.312 kB / 1.194 GB, free: 5.184 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.2452, allocations: 8.375 kB / 1.194 GB, free: 5.176 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.012e-05/0.2453, allocations: 38.25 kB / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.2453, allocations: 3.938 kB / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.2453, allocations: 0 / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2454, allocations: 7.938 kB / 1.194 GB, free: 5.121 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.379e-05/0.2454, allocations: 11.98 kB / 1.194 GB, free: 5.109 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.2458, allocations: 256 kB / 1.195 GB, free: 4.816 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.803e-05/0.2459, allocations: 34.5 kB / 1.195 GB, free: 4.773 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.2459, allocations: 8.922 kB / 1.195 GB, free: 4.762 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.2459, allocations: 0 / 1.195 GB, free: 4.762 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.2461, allocations: 63.33 kB / 1.195 GB, free: 4.688 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.2461, allocations: 0 / 1.195 GB, free: 4.688 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002007/0.2463, allocations: 73.64 kB / 1.195 GB, free: 4.609 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.2463, allocations: 51.41 kB / 1.195 GB, free: 4.547 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.197e-05/0.2464, allocations: 109.8 kB / 1.195 GB, free: 4.43 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2464, allocations: 33.64 kB / 1.195 GB, free: 4.391 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.2464, allocations: 96.11 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.848e-06/0.2465, allocations: 3.953 kB / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.2465, allocations: 37.64 kB / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.2466, allocations: 310.8 kB / 1.195 GB, free: 3.934 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.2467, allocations: 31.98 kB / 1.195 GB, free: 3.902 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.2467, allocations: 54.73 kB / 1.196 GB, free: 3.84 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.34e-05/0.2468, allocations: 88.27 kB / 1.196 GB, free: 3.738 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2468, allocations: 0 / 1.196 GB, free: 3.738 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001848/0.247, allocations: 155.2 kB / 1.196 GB, free: 3.574 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.247, allocations: 37.64 kB / 1.196 GB, free: 3.531 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.247, allocations: 48 / 1.196 GB, free: 3.531 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2471, allocations: 12.05 kB / 1.196 GB, free: 3.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.2471, allocations: 3.984 kB / 1.196 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2471, allocations: 4 kB / 1.196 GB, free: 3.512 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.2473, allocations: 23.97 kB / 1.196 GB, free: 3.488 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.2473, allocations: 8 kB / 1.196 GB, free: 3.48 MB / 0.823 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.221e-05/0.2474, allocations: 114.9 kB / 1.196 GB, free: 3.359 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.2474, allocations: 7.953 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.2474, allocations: 19.92 kB / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2474, allocations: 0 / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2474, allocations: 0 / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2474, allocations: 0 / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.758e-05/0.2475, allocations: 132.7 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2475, allocations: 3.984 kB / 1.196 GB, free: 3.148 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.2475, allocations: 4 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2475, allocations: 0 / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2475, allocations: 4 kB / 1.196 GB, free: 3.141 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2475, allocations: 0 / 1.196 GB, free: 3.141 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2475, allocations: 3.938 kB / 1.196 GB, free: 3.137 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.937e-05/0.2476, allocations: 85.06 kB / 1.196 GB, free: 3.035 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.2477, allocations: 11.94 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2477, allocations: 0 / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.2477, allocations: 0 / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.2477, allocations: 4 kB / 1.196 GB, free: 3.02 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.2477, allocations: 0 / 1.196 GB, free: 3.02 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.2478, allocations: 87.66 kB / 1.196 GB, free: 2.934 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2478, allocations: 8 kB / 1.196 GB, free: 2.926 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001555/0.2479, allocations: 19.88 kB / 1.196 GB, free: 2.906 MB / 0.823 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.0003837/0.2483, allocations: 0.6282 MB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.2485, allocations: 111.4 kB / 1.197 GB, free: 2.129 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2485, allocations: 128 / 1.197 GB, free: 2.129 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.2486, allocations: 19.92 kB / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.2488, allocations: 13.56 kB / 1.197 GB, free: 2.098 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.25, allocations: 1.397 MB / 1.198 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.2502, allocations: 0.6807 MB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.2503, allocations: 11.94 kB / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.2503, allocations: 11.44 kB / 1.199 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of SimCode: time 9.71e-07/0.2503, allocations: 0 / 1.199 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.2727, allocations: 2.131 MB / 1.201 GB, free: 13.89 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/7.181, allocations: 6.234 kB / 1.201 GB, free: 13.88 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.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 AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.749117425642908] Failed to read output from testmodel.py, exit status != 0: 7.262136249803007 7.273895728 7.026537002 Calling exit ...