Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.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.0007527/0.0007527, 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.0007713/0.0007713, allocations: 219.2 kB / 22.26 MB, free: 3.84 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.9734/0.9734, allocations: 230.6 MB / 256 MB, free: 9.797 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.03734/0.03734, allocations: 12.18 MB / 324.6 MB, free: 6.164 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.000419/0.000419, allocations: 27.89 kB / 384.1 MB, free: 10.57 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.783/1.783, allocations: 353.8 MB / 0.7787 GB, free: 3.129 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.Reals.Validation.Round,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Round",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.001629/0.001629, allocations: 122.8 kB / 1.06 GB, free: 24.98 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2614, allocations: 134.9 MB / 1.192 GB, free: 7.84 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Round): time 0.001691/0.2631, allocations: 0.7621 MB / 1.193 GB, free: 7.078 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008926/0.264, allocations: 0.8709 MB / 1.193 GB, free: 6.195 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.2641, allocations: 0 / 1.193 GB, free: 6.195 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.2641, allocations: 15.8 kB / 1.193 GB, free: 6.18 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.566e-05/0.2642, allocations: 7.938 kB / 1.193 GB, free: 6.172 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.2643, allocations: 27.95 kB / 1.193 GB, free: 6.145 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.2645, allocations: 71.83 kB / 1.194 GB, free: 6.074 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.2646, allocations: 12 kB / 1.194 GB, free: 6.062 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.064e-05/0.2647, allocations: 39.84 kB / 1.194 GB, free: 6.023 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.2647, allocations: 39.83 kB / 1.194 GB, free: 5.984 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.2647, allocations: 8 kB / 1.194 GB, free: 5.977 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.2648, allocations: 8 kB / 1.194 GB, free: 5.969 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.2648, allocations: 11.98 kB / 1.194 GB, free: 5.957 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.2648, allocations: 31.8 kB / 1.194 GB, free: 5.926 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.2649, allocations: 83.89 kB / 1.194 GB, free: 5.844 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.265, allocations: 0 / 1.194 GB, free: 5.844 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.265, allocations: 0 / 1.194 GB, free: 5.844 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.265, allocations: 0 / 1.194 GB, free: 5.844 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004605/0.2654, allocations: 298.1 kB / 1.194 GB, free: 5.52 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.2655, allocations: 12.03 kB / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.2655, allocations: 34.73 kB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.2655, allocations: 8.891 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2657, allocations: 122.4 kB / 1.194 GB, free: 5.312 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.2657, allocations: 8.312 kB / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.2657, allocations: 8.375 kB / 1.194 GB, free: 5.297 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.2659, allocations: 82.14 kB / 1.194 GB, free: 5.211 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.2659, allocations: 3.938 kB / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2659, allocations: 0 / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2659, allocations: 3.938 kB / 1.194 GB, free: 5.203 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.266, allocations: 67.94 kB / 1.194 GB, free: 5.137 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.2664, allocations: 303.8 kB / 1.195 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.2666, allocations: 78.53 kB / 1.195 GB, free: 4.711 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.01e-05/0.2667, allocations: 40.88 kB / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.2667, allocations: 4 kB / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.2667, allocations: 34.55 kB / 1.195 GB, free: 4.621 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.2667, allocations: 0 / 1.195 GB, free: 4.621 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0003109/0.267, allocations: 129.6 kB / 1.195 GB, free: 4.488 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.2671, allocations: 55.34 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.2672, allocations: 121.8 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.2672, allocations: 33.81 kB / 1.195 GB, free: 4.254 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.2672, allocations: 99.97 kB / 1.195 GB, free: 4.152 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.2673, allocations: 19.89 kB / 1.195 GB, free: 4.133 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.2673, allocations: 13.72 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.2674, allocations: 322.8 kB / 1.196 GB, free: 3.789 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.2674, allocations: 32.22 kB / 1.196 GB, free: 3.758 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.043e-05/0.2675, allocations: 31.98 kB / 1.196 GB, free: 3.727 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.2676, allocations: 72.81 kB / 1.196 GB, free: 3.652 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2676, allocations: 0 / 1.196 GB, free: 3.652 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001608/0.2678, allocations: 105.5 kB / 1.196 GB, free: 3.543 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2678, allocations: 4 kB / 1.196 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2678, allocations: 0 / 1.196 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2678, allocations: 7.984 kB / 1.196 GB, free: 3.531 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/0.2679, allocations: 11.98 kB / 1.196 GB, free: 3.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2679, allocations: 8 kB / 1.196 GB, free: 3.512 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.901e-05/0.268, allocations: 11.98 kB / 1.196 GB, free: 3.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.268, allocations: 0 / 1.196 GB, free: 3.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.839e-05/0.268, allocations: 117.8 kB / 1.196 GB, free: 3.375 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.2681, allocations: 3.953 kB / 1.196 GB, free: 3.371 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.2681, allocations: 12.38 kB / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2681, allocations: 0 / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2681, allocations: 0 / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2681, allocations: 4 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.2682, allocations: 176.5 kB / 1.196 GB, free: 3.137 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2682, allocations: 0 / 1.196 GB, free: 3.137 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.2683, allocations: 11.98 kB / 1.196 GB, free: 3.125 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2683, allocations: 4 kB / 1.196 GB, free: 3.121 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.2683, allocations: 4 kB / 1.196 GB, free: 3.117 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2683, allocations: 3.938 kB / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2683, allocations: 0 / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.2685, allocations: 215.6 kB / 1.196 GB, free: 2.887 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.2685, allocations: 11.88 kB / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.2685, allocations: 0 / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.2686, allocations: 4 kB / 1.196 GB, free: 2.871 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.2687, allocations: 15.97 kB / 1.196 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.2687, allocations: 8 kB / 1.196 GB, free: 2.848 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.2687, allocations: 99.58 kB / 1.197 GB, free: 2.75 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.2687, allocations: 0 / 1.197 GB, free: 2.75 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001559/0.2689, allocations: 16 kB / 1.197 GB, free: 2.734 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004301/0.2693, allocations: 0.7357 MB / 1.197 GB, free: 1.973 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003652/0.2697, allocations: 71.95 kB / 1.197 GB, free: 1.902 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2697, allocations: 0 / 1.197 GB, free: 1.902 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.392e-05/0.2697, allocations: 43.91 kB / 1.197 GB, free: 1.859 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.27, allocations: 3.984 kB / 1.197 GB, free: 1.855 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.2712, allocations: 1.458 MB / 1.199 GB, free: 328 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.2714, allocations: 0.6846 MB / 1.199 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.667e-05/0.2715, allocations: 11.73 kB / 1.199 GB, free: 15.6 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.2716, allocations: 35.42 kB / 1.199 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of SimCode: time 6.51e-07/0.2716, allocations: 0 / 1.199 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.2914, allocations: 2.457 MB / 1.202 GB, free: 13.24 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.542/6.833, allocations: 4.062 kB / 1.202 GB, free: 13.23 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Round.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.548470521345735] Failed to read output from testmodel.py, exit status != 0: 6.914647750556469 6.929849541 6.662287222 Calling exit ...