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.0008698/0.0008698, allocations: 109.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.001084/0.001084, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.9132/0.9132, allocations: 230.6 MB / 256 MB, free: 9.625 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.03681/0.03681, allocations: 12.19 MB / 324.6 MB, free: 6.109 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.0005037/0.0005037, allocations: 19.95 kB / 384.1 MB, free: 10.54 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.565/1.565, allocations: 353.8 MB / 0.7787 GB, free: 4.609 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.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.001382/0.001382, allocations: 123.8 kB / 1.06 GB, free: 24.92 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2019, allocations: 134.9 MB / 1.192 GB, free: 7.566 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001262/0.2032, allocations: 0.5881 MB / 1.192 GB, free: 6.98 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2042, allocations: 1.145 MB / 1.193 GB, free: 5.824 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.2042, allocations: 0 / 1.193 GB, free: 5.824 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.2042, allocations: 3.938 kB / 1.193 GB, free: 5.82 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.2043, allocations: 7.922 kB / 1.193 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.2047, allocations: 127.3 kB / 1.193 GB, free: 5.691 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.2048, allocations: 91.81 kB / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.2049, allocations: 4 kB / 1.194 GB, free: 5.598 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.766e-05/0.2049, allocations: 31.98 kB / 1.194 GB, free: 5.566 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.205, allocations: 31.88 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.205, allocations: 12 kB / 1.194 GB, free: 5.523 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.149e-05/0.2051, allocations: 23.98 kB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2051, allocations: 3.938 kB / 1.194 GB, free: 5.496 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.2051, allocations: 27.98 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.2053, allocations: 91.94 kB / 1.194 GB, free: 5.379 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2053, allocations: 0 / 1.194 GB, free: 5.379 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2053, allocations: 0 / 1.194 GB, free: 5.379 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2053, allocations: 0 / 1.194 GB, free: 5.379 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.0003311/0.2056, allocations: 299.9 kB / 1.194 GB, free: 5.047 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2057, allocations: 8.031 kB / 1.194 GB, free: 5.039 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.473e-05/0.2057, allocations: 38.75 kB / 1.194 GB, free: 4.992 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.2057, allocations: 8.938 kB / 1.194 GB, free: 4.984 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.927e-05/0.2058, allocations: 118.4 kB / 1.194 GB, free: 4.844 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2058, allocations: 4.375 kB / 1.194 GB, free: 4.84 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.2058, allocations: 4.375 kB / 1.194 GB, free: 4.836 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.416e-05/0.2059, allocations: 42.25 kB / 1.194 GB, free: 4.789 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2059, allocations: 3.938 kB / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.2059, allocations: 0 / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2059, allocations: 3.984 kB / 1.194 GB, free: 4.781 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.187e-05/0.2059, allocations: 11.94 kB / 1.194 GB, free: 4.77 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.2062, allocations: 248 kB / 1.195 GB, free: 4.484 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.317e-05/0.2063, allocations: 34.52 kB / 1.195 GB, free: 4.441 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.2063, allocations: 16.92 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.2063, allocations: 0 / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.2064, allocations: 63.33 kB / 1.195 GB, free: 4.348 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.2064, allocations: 0 / 1.195 GB, free: 4.348 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001565/0.2066, allocations: 73.62 kB / 1.195 GB, free: 4.27 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.2066, allocations: 51.41 kB / 1.195 GB, free: 4.207 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.052e-05/0.2067, allocations: 109.8 kB / 1.195 GB, free: 4.09 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2067, allocations: 29.7 kB / 1.195 GB, free: 4.055 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.2067, allocations: 80.14 kB / 1.195 GB, free: 3.973 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.077e-05/0.2067, allocations: 15.95 kB / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.2068, allocations: 29.7 kB / 1.195 GB, free: 3.922 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.2069, allocations: 318.8 kB / 1.195 GB, free: 3.602 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.2069, allocations: 61.69 kB / 1.195 GB, free: 3.535 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/0.207, allocations: 84.25 kB / 1.195 GB, free: 3.438 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.421e-05/0.2071, allocations: 88.2 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2071, allocations: 0 / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001722/0.2072, allocations: 181 kB / 1.196 GB, free: 3.141 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.2073, allocations: 37.75 kB / 1.196 GB, free: 3.098 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2073, allocations: 7.938 kB / 1.196 GB, free: 3.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2073, allocations: 0 / 1.196 GB, free: 3.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.466e-05/0.2073, allocations: 4 kB / 1.196 GB, free: 3.086 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2073, allocations: 3.938 kB / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.2075, allocations: 27.97 kB / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.2075, allocations: 4 kB / 1.196 GB, free: 3.051 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: 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 5.984e-05/0.2075, allocations: 119.3 kB / 1.196 GB, free: 2.926 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.2075, allocations: 15.95 kB / 1.196 GB, free: 2.91 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.2076, allocations: 4 kB / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2076, allocations: 0 / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2076, allocations: 4 kB / 1.196 GB, free: 2.895 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2076, allocations: 0 / 1.196 GB, free: 2.895 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.327e-05/0.2076, allocations: 132.7 kB / 1.196 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2076, allocations: 4 kB / 1.196 GB, free: 2.719 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.155e-05/0.2076, allocations: 0 / 1.196 GB, free: 2.719 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2076, allocations: 0 / 1.196 GB, free: 2.719 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.2077, allocations: 4.047 kB / 1.196 GB, free: 2.715 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2077, allocations: 8 kB / 1.196 GB, free: 2.707 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2077, allocations: 7.938 kB / 1.196 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.694e-05/0.2077, allocations: 85.06 kB / 1.196 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.2077, allocations: 11.89 kB / 1.196 GB, free: 2.586 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.2078, allocations: 0 / 1.196 GB, free: 2.586 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-06/0.2078, allocations: 3.938 kB / 1.196 GB, free: 2.582 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.2078, allocations: 7.984 kB / 1.196 GB, free: 2.574 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.2078, allocations: 0 / 1.196 GB, free: 2.574 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000277/0.2081, allocations: 87.27 kB / 1.196 GB, free: 2.488 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.1e-08/0.2081, allocations: 0 / 1.196 GB, free: 2.488 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001478/0.2082, allocations: 16 kB / 1.196 GB, free: 2.473 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: 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.0002656/0.2085, allocations: 0.6283 MB / 1.197 GB, free: 1.816 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.2086, allocations: 141.1 kB / 1.197 GB, free: 1.66 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2086, allocations: 0 / 1.197 GB, free: 1.66 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.27e-05/0.2087, allocations: 19.92 kB / 1.197 GB, free: 1.641 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.2088, allocations: 9.719 kB / 1.197 GB, free: 1.633 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009861/0.2098, allocations: 1.517 MB / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.771e-05/0.2098, allocations: 71.42 kB / 1.199 GB, free: 15.9 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.076e-05/0.2099, allocations: 256 / 1.199 GB, free: 15.9 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.2099, allocations: 11.44 kB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of SimCode: time 5.91e-07/0.2099, allocations: 0 / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.2245, allocations: 2.637 MB / 1.201 GB, free: 13.41 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.849/6.073, allocations: 9.578 kB / 1.201 GB, free: 13.4 MB / 0.8387 GB " [Timeout remaining time 654] (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: 10.25116896443069] Failed to read output from testmodel.py, exit status != 0: 6.146804087795317 6.158361857 5.950250383 Calling exit ...