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.001006/0.001006, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001026/0.001026, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9085/0.9085, allocations: 230.6 MB / 256 MB, free: 9.594 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.03627/0.03627, allocations: 12.18 MB / 324.6 MB, free: 6.094 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.0004424/0.0004424, allocations: 27.94 kB / 384.1 MB, free: 10.51 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.607/1.607, allocations: 353.8 MB / 0.7787 GB, free: 4.621 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.001352/0.001352, allocations: 123.8 kB / 1.06 GB, free: 24.85 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2072, allocations: 134.9 MB / 1.192 GB, free: 7.57 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0015/0.2087, allocations: 0.592 MB / 1.192 GB, free: 6.98 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009981/0.2097, allocations: 1.141 MB / 1.193 GB, free: 5.828 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.2098, allocations: 4 kB / 1.193 GB, free: 5.824 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.2098, allocations: 3.938 kB / 1.193 GB, free: 5.82 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.741e-05/0.2099, allocations: 7.922 kB / 1.193 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.2102, allocations: 116.7 kB / 1.193 GB, free: 5.703 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.2104, allocations: 103.8 kB / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.788e-05/0.2104, allocations: 4 kB / 1.194 GB, free: 5.598 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.2105, allocations: 35.92 kB / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.2106, allocations: 27.94 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.2106, allocations: 8 kB / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.129e-05/0.2107, allocations: 16 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.2107, allocations: 11.92 kB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.2107, allocations: 27.92 kB / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.2109, allocations: 88 kB / 1.194 GB, free: 5.387 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2109, allocations: 0 / 1.194 GB, free: 5.387 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2109, allocations: 4 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.2109, allocations: 7.938 kB / 1.194 GB, free: 5.375 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.000329/0.2112, allocations: 300 kB / 1.194 GB, free: 5.043 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2112, allocations: 8.031 kB / 1.194 GB, free: 5.035 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.322e-05/0.2113, allocations: 30.75 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.2113, allocations: 4.938 kB / 1.194 GB, free: 4.992 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.913e-05/0.2114, allocations: 114.4 kB / 1.194 GB, free: 4.855 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.2114, allocations: 8.359 kB / 1.194 GB, free: 4.848 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.2114, allocations: 4.375 kB / 1.194 GB, free: 4.844 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.821e-05/0.2115, allocations: 38.25 kB / 1.194 GB, free: 4.801 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2115, allocations: 3.938 kB / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.2115, allocations: 4 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2115, allocations: 4 kB / 1.194 GB, free: 4.789 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.363e-05/0.2115, allocations: 11.94 kB / 1.194 GB, free: 4.777 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.2118, allocations: 248 kB / 1.195 GB, free: 4.492 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.121e-05/0.2119, allocations: 30.45 kB / 1.195 GB, free: 4.453 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.2119, allocations: 12.92 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.2119, allocations: 0 / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.212, allocations: 67.33 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.212, allocations: 0 / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001596/0.2122, allocations: 73.62 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2122, allocations: 51.41 kB / 1.195 GB, free: 4.219 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.328e-05/0.2123, allocations: 113.8 kB / 1.195 GB, free: 4.098 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.2123, allocations: 25.7 kB / 1.195 GB, free: 4.066 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.2123, allocations: 84.14 kB / 1.195 GB, free: 3.98 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.979e-06/0.2123, allocations: 7.953 kB / 1.195 GB, free: 3.973 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.2124, allocations: 33.7 kB / 1.195 GB, free: 3.934 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.2125, allocations: 318.8 kB / 1.195 GB, free: 3.613 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.551e-05/0.2125, allocations: 61.62 kB / 1.195 GB, free: 3.547 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.459e-05/0.2126, allocations: 88.5 kB / 1.195 GB, free: 3.445 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.506e-05/0.2127, allocations: 88.27 kB / 1.196 GB, free: 3.344 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2127, allocations: 4 kB / 1.196 GB, free: 3.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000174/0.2128, allocations: 181 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.2129, allocations: 37.69 kB / 1.196 GB, free: 3.102 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2129, allocations: 0 / 1.196 GB, free: 3.102 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2129, allocations: 4 kB / 1.196 GB, free: 3.098 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.819e-05/0.2129, allocations: 3.938 kB / 1.196 GB, free: 3.094 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2129, allocations: 80 / 1.196 GB, free: 3.094 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2131, allocations: 36.03 kB / 1.196 GB, free: 3.059 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2131, allocations: 7.984 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: 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.46e-05/0.2131, allocations: 121.8 kB / 1.196 GB, free: 2.922 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.2131, allocations: 7.953 kB / 1.196 GB, free: 2.914 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.2132, allocations: 4 kB / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2132, allocations: 240 / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2132, allocations: 0 / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2132, allocations: 3.984 kB / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.215e-05/0.2132, allocations: 132.7 kB / 1.196 GB, free: 2.727 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.2132, allocations: 4 kB / 1.196 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-05/0.2132, allocations: 4 kB / 1.196 GB, free: 2.719 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2133, allocations: 0 / 1.196 GB, free: 2.719 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.2133, allocations: 4 kB / 1.196 GB, free: 2.715 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2133, allocations: 3.984 kB / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2133, allocations: 0 / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.92e-05/0.2133, allocations: 92.94 kB / 1.196 GB, free: 2.602 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.2133, allocations: 3.953 kB / 1.196 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.2134, allocations: 4 kB / 1.196 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-06/0.2134, allocations: 0 / 1.196 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.2134, allocations: 7.984 kB / 1.196 GB, free: 2.586 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.2134, allocations: 8 kB / 1.196 GB, free: 2.578 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.686e-05/0.2134, allocations: 79.28 kB / 1.196 GB, free: 2.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2134, allocations: 0 / 1.196 GB, free: 2.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001469/0.2136, allocations: 27.92 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: 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.0002909/0.2139, allocations: 0.6241 MB / 1.197 GB, free: 1.82 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.214, allocations: 141 kB / 1.197 GB, free: 1.664 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.214, allocations: 0 / 1.197 GB, free: 1.664 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/0.2141, allocations: 19.92 kB / 1.197 GB, free: 1.645 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.2142, allocations: 10.16 kB / 1.197 GB, free: 1.637 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2153, allocations: 1.525 MB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.867e-05/0.2153, allocations: 67.34 kB / 1.199 GB, free: 15.9 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.144e-05/0.2153, allocations: 256 / 1.199 GB, free: 15.9 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.2154, allocations: 11.44 kB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of SimCode: time 8.62e-07/0.2154, allocations: 0 / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.2295, allocations: 2.639 MB / 1.201 GB, free: 13.41 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.906/6.136, allocations: 4 kB / 1.201 GB, free: 13.4 MB / 0.8387 GB " [Timeout remaining time 654] (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: 10.324354235082865] Failed to read output from testmodel.py, exit status != 0: 6.20962721016258 6.219112245 6.006532421 Calling exit ...