Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.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.0009378/0.0009378, 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.001048/0.001048, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9022/0.9022, 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.03654/0.03654, allocations: 12.19 MB / 324.6 MB, free: 6.117 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.0004068/0.0004068, allocations: 27.89 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.519/1.519, allocations: 353.9 MB / 0.7787 GB, free: 4.566 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.Exp,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Exp",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.001393/0.001393, allocations: 125.8 kB / 1.06 GB, free: 24.74 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2031, allocations: 134.9 MB / 1.192 GB, free: 7.48 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001367/0.2045, allocations: 0.6495 MB / 1.192 GB, free: 6.832 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007412/0.2052, allocations: 0.8475 MB / 1.193 GB, free: 5.973 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.2052, allocations: 0 / 1.193 GB, free: 5.973 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.2053, allocations: 0 / 1.193 GB, free: 5.973 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.636e-05/0.2053, allocations: 7.938 kB / 1.193 GB, free: 5.965 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.2055, allocations: 11.98 kB / 1.193 GB, free: 5.953 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.2056, allocations: 23.92 kB / 1.193 GB, free: 5.93 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.585e-05/0.2057, allocations: 4 kB / 1.193 GB, free: 5.926 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.2057, allocations: 7.984 kB / 1.193 GB, free: 5.918 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.37e-05/0.2057, allocations: 19.92 kB / 1.193 GB, free: 5.898 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.2058, allocations: 0 / 1.193 GB, free: 5.898 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.595e-05/0.2058, allocations: 4 kB / 1.193 GB, free: 5.895 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.2058, allocations: 8 kB / 1.193 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.2058, allocations: 3.938 kB / 1.193 GB, free: 5.883 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.2059, allocations: 36.11 kB / 1.193 GB, free: 5.848 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2059, allocations: 3.938 kB / 1.193 GB, free: 5.844 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2059, allocations: 0 / 1.193 GB, free: 5.844 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2059, allocations: 0 / 1.193 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003036/0.2062, allocations: 254.4 kB / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2063, allocations: 23.95 kB / 1.194 GB, free: 5.539 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.563e-05/0.2063, allocations: 30.75 kB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.2064, allocations: 8.891 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.786e-05/0.2064, allocations: 102.5 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.2064, allocations: 384 / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.2065, allocations: 4.375 kB / 1.194 GB, free: 5.363 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.2066, allocations: 50.23 kB / 1.194 GB, free: 5.309 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2066, allocations: 3.938 kB / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.2066, allocations: 0 / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2066, allocations: 0 / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.404e-05/0.2067, allocations: 39.95 kB / 1.194 GB, free: 5.266 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.2069, allocations: 212 kB / 1.194 GB, free: 5.016 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.967e-05/0.207, allocations: 42.48 kB / 1.194 GB, free: 4.965 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.2071, allocations: 20.91 kB / 1.194 GB, free: 4.941 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2071, allocations: 0 / 1.194 GB, free: 4.941 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.2071, allocations: 34.56 kB / 1.194 GB, free: 4.898 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.2071, allocations: 0 / 1.194 GB, free: 4.898 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002055/0.2073, allocations: 93.53 kB / 1.194 GB, free: 4.801 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.2073, allocations: 51.41 kB / 1.194 GB, free: 4.738 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.2074, allocations: 97.84 kB / 1.194 GB, free: 4.633 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.2074, allocations: 25.7 kB / 1.194 GB, free: 4.602 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.2074, allocations: 84.14 kB / 1.194 GB, free: 4.516 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.2074, allocations: 11.89 kB / 1.194 GB, free: 4.504 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.2075, allocations: 9.719 kB / 1.194 GB, free: 4.488 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.2075, allocations: 323 kB / 1.195 GB, free: 4.164 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.169e-05/0.2076, allocations: 15.97 kB / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/0.2076, allocations: 15.98 kB / 1.195 GB, free: 4.133 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.642e-05/0.2077, allocations: 36.83 kB / 1.195 GB, free: 4.094 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2077, allocations: 7.875 kB / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001048/0.2078, allocations: 73.66 kB / 1.195 GB, free: 4.008 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.2078, allocations: 5.719 kB / 1.195 GB, free: 4.004 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2078, allocations: 0 / 1.195 GB, free: 4.004 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2078, allocations: 0 / 1.195 GB, free: 4.004 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.2079, allocations: 11.98 kB / 1.195 GB, free: 3.992 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2079, allocations: 3.984 kB / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.2079, allocations: 4 kB / 1.195 GB, free: 3.984 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.2079, allocations: 0 / 1.195 GB, free: 3.984 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 (2): * Single equations (assignments): 2 * 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 5.332e-05/0.208, allocations: 121.8 kB / 1.195 GB, free: 3.855 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.208, allocations: 8.156 kB / 1.195 GB, free: 3.848 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.2081, allocations: 72.89 kB / 1.195 GB, free: 3.77 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2081, allocations: 4 kB / 1.195 GB, free: 3.766 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2081, allocations: 0 / 1.195 GB, free: 3.766 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2081, allocations: 0 / 1.195 GB, free: 3.766 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.498e-05/0.2082, allocations: 132.7 kB / 1.195 GB, free: 3.594 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2082, allocations: 0 / 1.195 GB, free: 3.594 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.2082, allocations: 11.98 kB / 1.195 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2082, allocations: 4.031 kB / 1.195 GB, free: 3.578 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2082, allocations: 0 / 1.195 GB, free: 3.578 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2082, allocations: 0 / 1.195 GB, free: 3.578 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2082, allocations: 0 / 1.195 GB, free: 3.578 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.2084, allocations: 167.4 kB / 1.195 GB, free: 3.398 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-06/0.2084, allocations: 4 kB / 1.195 GB, free: 3.395 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.2084, allocations: 3.938 kB / 1.195 GB, free: 3.391 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.2084, allocations: 7.984 kB / 1.195 GB, free: 3.383 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.2084, allocations: 4.031 kB / 1.195 GB, free: 3.379 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.2084, allocations: 0 / 1.195 GB, free: 3.379 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.455e-05/0.2085, allocations: 83.28 kB / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2085, allocations: 0 / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001381/0.2086, allocations: 4 kB / 1.196 GB, free: 3.293 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 (2): * Single equations (assignments): 2 * 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.0003115/0.2089, allocations: 0.6929 MB / 1.196 GB, free: 2.57 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.209, allocations: 39.94 kB / 1.196 GB, free: 2.531 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.209, allocations: 0 / 1.196 GB, free: 2.531 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.2091, allocations: 23.97 kB / 1.196 GB, free: 2.508 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.2093, allocations: 0 / 1.196 GB, free: 2.508 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.2096, allocations: 143.1 kB / 1.196 GB, free: 2.328 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.292e-05/0.2097, allocations: 59.34 kB / 1.196 GB, free: 2.25 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.018e-05/0.2097, allocations: 4.125 kB / 1.196 GB, free: 2.246 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.2097, allocations: 15.44 kB / 1.196 GB, free: 2.23 MB / 0.823 GB Notification: Performance of SimCode: time 4.51e-07/0.2097, allocations: 0 / 1.196 GB, free: 2.23 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.222, allocations: 1.804 MB / 1.198 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.859/6.081, allocations: 3.75 kB / 1.198 GB, free: 0.5508 MB / 0.823 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp_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_Exp.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.094923658296466] Failed to read output from testmodel.py, exit status != 0: 6.155721693299711 6.163778369 5.956225857 Calling exit ...