Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.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.0007624/0.0007624, allocations: 101.5 kB / 18.95 MB, free: 1.312 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.0007725/0.0007725, allocations: 216 kB / 22.25 MB, free: 3.676 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.8634/0.8634, allocations: 230.6 MB / 256 MB, free: 9.617 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.03531/0.03531, allocations: 12.19 MB / 324.6 MB, free: 6.098 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.0004099/0.0004099, allocations: 27.94 kB / 384.1 MB, free: 10.52 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.518/1.518, allocations: 353.8 MB / 0.7787 GB, free: 4.574 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.Cos,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Cos",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.001376/0.001376, allocations: 127.8 kB / 1.06 GB, free: 24.67 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2082, allocations: 134.9 MB / 1.192 GB, free: 7.434 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001373/0.2096, allocations: 0.6569 MB / 1.192 GB, free: 6.777 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007465/0.2103, allocations: 0.8514 MB / 1.193 GB, free: 5.914 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.2104, allocations: 0 / 1.193 GB, free: 5.914 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.2104, allocations: 0 / 1.193 GB, free: 5.914 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.578e-05/0.2104, allocations: 3.938 kB / 1.193 GB, free: 5.91 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.2106, allocations: 11.98 kB / 1.193 GB, free: 5.898 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.011e-05/0.2107, allocations: 19.94 kB / 1.193 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.2108, allocations: 15.98 kB / 1.193 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.2108, allocations: 4 kB / 1.193 GB, free: 5.859 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.451e-05/0.2109, allocations: 15.92 kB / 1.193 GB, free: 5.844 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.2109, allocations: 0 / 1.193 GB, free: 5.844 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.833e-05/0.2109, allocations: 4 kB / 1.193 GB, free: 5.84 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.2109, allocations: 7.984 kB / 1.193 GB, free: 5.832 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.65e-05/0.2109, allocations: 7.938 kB / 1.193 GB, free: 5.824 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.862e-05/0.211, allocations: 36.05 kB / 1.193 GB, free: 5.789 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.211, allocations: 4 kB / 1.193 GB, free: 5.785 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.413e-06/0.211, allocations: 0 / 1.193 GB, free: 5.785 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.2111, allocations: 0 / 1.193 GB, free: 5.785 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.2114, allocations: 258.4 kB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2114, allocations: 8.031 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.923e-05/0.2114, allocations: 34.75 kB / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.406e-05/0.2115, allocations: 8.891 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.2116, allocations: 102.5 kB / 1.194 GB, free: 5.316 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2116, allocations: 4.375 kB / 1.194 GB, free: 5.312 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.2116, allocations: 384 / 1.194 GB, free: 5.312 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.2117, allocations: 50.23 kB / 1.194 GB, free: 5.258 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2117, allocations: 7.875 kB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.2117, allocations: 4 kB / 1.194 GB, free: 5.246 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2118, allocations: 0 / 1.194 GB, free: 5.246 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.621e-05/0.2118, allocations: 39.89 kB / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.2121, allocations: 208 kB / 1.194 GB, free: 4.961 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.142e-05/0.2122, allocations: 42.53 kB / 1.194 GB, free: 4.91 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.2122, allocations: 20.91 kB / 1.194 GB, free: 4.887 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2122, allocations: 8 kB / 1.194 GB, free: 4.879 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.2122, allocations: 30.56 kB / 1.194 GB, free: 4.84 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.2123, allocations: 0 / 1.194 GB, free: 4.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.000208/0.2125, allocations: 85.53 kB / 1.194 GB, free: 4.75 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.2125, allocations: 55.41 kB / 1.194 GB, free: 4.684 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.442e-05/0.2125, allocations: 97.84 kB / 1.194 GB, free: 4.578 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.2125, allocations: 25.7 kB / 1.194 GB, free: 4.547 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.2126, allocations: 92.08 kB / 1.194 GB, free: 4.453 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.2126, allocations: 8.078 kB / 1.194 GB, free: 4.445 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.2126, allocations: 9.719 kB / 1.194 GB, free: 4.43 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.2127, allocations: 318.8 kB / 1.195 GB, free: 4.109 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.2127, allocations: 15.97 kB / 1.195 GB, free: 4.094 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.439e-05/0.2128, allocations: 15.98 kB / 1.195 GB, free: 4.078 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.066e-05/0.2128, allocations: 40.77 kB / 1.195 GB, free: 4.035 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2128, allocations: 8 kB / 1.195 GB, free: 4.027 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001004/0.2129, allocations: 65.66 kB / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.213, allocations: 7.938 kB / 1.195 GB, free: 3.949 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.213, allocations: 0 / 1.195 GB, free: 3.949 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.213, allocations: 4 kB / 1.195 GB, free: 3.945 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.213, allocations: 7.984 kB / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.213, allocations: 3.984 kB / 1.195 GB, free: 3.934 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.2131, allocations: 11.98 kB / 1.195 GB, free: 3.922 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.2131, allocations: 4.031 kB / 1.195 GB, free: 3.918 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 4.921e-05/0.2131, allocations: 113.8 kB / 1.195 GB, free: 3.797 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.2131, allocations: 4 kB / 1.195 GB, free: 3.793 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.2133, allocations: 72.91 kB / 1.195 GB, free: 3.715 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2133, allocations: 0 / 1.195 GB, free: 3.715 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2133, allocations: 0 / 1.195 GB, free: 3.715 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2133, allocations: 0 / 1.195 GB, free: 3.715 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.554e-05/0.2134, allocations: 132.9 kB / 1.195 GB, free: 3.543 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2134, allocations: 4.031 kB / 1.195 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.2134, allocations: 11.98 kB / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2134, allocations: 3.984 kB / 1.195 GB, free: 3.523 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.2134, allocations: 0 / 1.195 GB, free: 3.523 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.2134, allocations: 0 / 1.195 GB, free: 3.523 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2134, allocations: 3.938 kB / 1.195 GB, free: 3.52 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.2135, allocations: 171.3 kB / 1.195 GB, free: 3.336 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-06/0.2135, allocations: 4 kB / 1.195 GB, free: 3.332 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.2136, allocations: 4.031 kB / 1.195 GB, free: 3.328 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.616e-05/0.2136, allocations: 7.984 kB / 1.195 GB, free: 3.32 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.2136, allocations: 0 / 1.195 GB, free: 3.32 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.2136, allocations: 0 / 1.195 GB, free: 3.32 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.675e-05/0.2136, allocations: 87.27 kB / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2136, allocations: 0 / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000138/0.2138, allocations: 4 kB / 1.196 GB, free: 3.23 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.0003056/0.2141, allocations: 0.6929 MB / 1.196 GB, free: 2.508 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.2142, allocations: 35.91 kB / 1.196 GB, free: 2.473 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2142, allocations: 0 / 1.196 GB, free: 2.473 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.941e-05/0.2143, allocations: 23.97 kB / 1.196 GB, free: 2.449 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.2145, allocations: 2.031 kB / 1.196 GB, free: 2.449 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.2148, allocations: 143.9 kB / 1.196 GB, free: 2.27 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.2148, allocations: 67.28 kB / 1.196 GB, free: 2.184 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.2149, allocations: 0 / 1.196 GB, free: 2.184 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.2149, allocations: 15.44 kB / 1.196 GB, free: 2.168 MB / 0.823 GB Notification: Performance of SimCode: time 5.01e-07/0.2149, allocations: 0 / 1.196 GB, free: 2.168 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.2291, allocations: 1.811 MB / 1.198 GB, free: 496 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.866/6.096, allocations: 5.641 kB / 1.198 GB, free: 496 kB / 0.823 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos_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_Cos.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.079239688813686] Failed to read output from testmodel.py, exit status != 0: 6.169218949042261 6.177140079 5.964434969 Calling exit ...