Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.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.0007043/0.0007043, 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.0007251/0.0007251, allocations: 207.6 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.8944/0.8944, allocations: 230.6 MB / 256 MB, free: 9.602 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.03525/0.03525, allocations: 12.18 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.0004216/0.0004216, allocations: 31.89 kB / 384.1 MB, free: 10.53 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.529/1.529, allocations: 353.8 MB / 0.7787 GB, free: 4.555 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.Line,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Line",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.001387/0.001387, allocations: 115.8 kB / 1.06 GB, free: 24.9 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2033, allocations: 134.9 MB / 1.192 GB, free: 7.465 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Line): time 0.001491/0.2048, allocations: 0.8269 MB / 1.193 GB, free: 6.637 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008595/0.2057, allocations: 0.9095 MB / 1.193 GB, free: 5.715 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.2058, allocations: 3.938 kB / 1.193 GB, free: 5.711 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.2058, allocations: 11.81 kB / 1.193 GB, free: 5.699 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.761e-05/0.2059, allocations: 15.88 kB / 1.193 GB, free: 5.684 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.2061, allocations: 67.89 kB / 1.194 GB, free: 5.617 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.2062, allocations: 135.7 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.2064, allocations: 53.38 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.534e-05/0.2065, allocations: 51.84 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.2065, allocations: 47.7 kB / 1.194 GB, free: 5.328 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.2065, allocations: 16 kB / 1.194 GB, free: 5.312 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.2065, allocations: 12 kB / 1.194 GB, free: 5.301 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.2066, allocations: 39.78 kB / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.2066, allocations: 55.77 kB / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.2068, allocations: 139.6 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2068, allocations: 0 / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2068, allocations: 0 / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2068, allocations: 4 kB / 1.194 GB, free: 5.066 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004572/0.2072, allocations: 365.8 kB / 1.194 GB, free: 4.676 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2073, allocations: 8.031 kB / 1.194 GB, free: 4.668 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.2073, allocations: 50.73 kB / 1.194 GB, free: 4.609 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.2073, allocations: 24.84 kB / 1.194 GB, free: 4.586 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.2075, allocations: 162.3 kB / 1.195 GB, free: 4.402 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2076, allocations: 8.375 kB / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.2076, allocations: 12.38 kB / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.2078, allocations: 219.3 kB / 1.195 GB, free: 4.145 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2078, allocations: 3.938 kB / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.2078, allocations: 12 kB / 1.195 GB, free: 4.129 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2078, allocations: 4 kB / 1.195 GB, free: 4.125 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.208, allocations: 139.9 kB / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.2085, allocations: 427.4 kB / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.2087, allocations: 86.42 kB / 1.196 GB, free: 3.434 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.915e-05/0.2087, allocations: 46.3 kB / 1.196 GB, free: 3.387 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2088, allocations: 7.938 kB / 1.196 GB, free: 3.379 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.2088, allocations: 34.56 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 2.395e-06/0.2088, allocations: 0 / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0002941/0.2091, allocations: 157.7 kB / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.2091, allocations: 51.41 kB / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.2092, allocations: 195.6 kB / 1.196 GB, free: 2.906 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2092, allocations: 25.7 kB / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.2093, allocations: 116 kB / 1.196 GB, free: 2.758 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.2093, allocations: 35.73 kB / 1.196 GB, free: 2.723 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.2094, allocations: 34.05 kB / 1.196 GB, free: 2.684 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003186/0.2097, allocations: 326.8 kB / 1.196 GB, free: 2.355 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/0.2097, allocations: 39.92 kB / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.2098, allocations: 43.97 kB / 1.197 GB, free: 2.273 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.2099, allocations: 95 kB / 1.197 GB, free: 2.18 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2099, allocations: 7.938 kB / 1.197 GB, free: 2.172 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001745/0.2101, allocations: 145.6 kB / 1.197 GB, free: 2.023 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2101, allocations: 4 kB / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.2101, allocations: 0 / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2102, allocations: 0 / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.2103, allocations: 27.92 kB / 1.197 GB, free: 1.992 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2103, allocations: 0 / 1.197 GB, free: 1.992 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.2103, allocations: 27.83 kB / 1.197 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.2103, allocations: 4 kB / 1.197 GB, free: 1.961 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 (13): * Single equations (assignments): 13 * 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.436e-05/0.2104, allocations: 121.8 kB / 1.197 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.2104, allocations: 15.91 kB / 1.197 GB, free: 1.816 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.2106, allocations: 139 kB / 1.197 GB, free: 1.672 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2106, allocations: 0 / 1.197 GB, free: 1.672 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2106, allocations: 4 kB / 1.197 GB, free: 1.668 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2106, allocations: 0 / 1.197 GB, free: 1.668 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.2109, allocations: 412 kB / 1.198 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2109, allocations: 0 / 1.198 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.211, allocations: 23.98 kB / 1.198 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.211, allocations: 0 / 1.198 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.211, allocations: 8 kB / 1.198 GB, free: 1.176 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.211, allocations: 0 / 1.198 GB, free: 1.176 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.211, allocations: 4 kB / 1.198 GB, free: 1.172 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.2112, allocations: 245.8 kB / 1.198 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.2112, allocations: 19.78 kB / 1.198 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.2112, allocations: 12.03 kB / 1.198 GB, free: 0.875 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.2113, allocations: 15.97 kB / 1.198 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.2113, allocations: 15.92 kB / 1.198 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.2113, allocations: 4 kB / 1.198 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.097e-05/0.2114, allocations: 145.2 kB / 1.198 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2114, allocations: 192 / 1.198 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001564/0.2116, allocations: 20 kB / 1.198 GB, free: 0.6797 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0003832/0.2119, allocations: 0.7851 MB / 1.199 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001843/0.2121, allocations: 91.88 kB / 1.199 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2121, allocations: 0 / 1.199 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.2122, allocations: 47.98 kB / 1.199 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.2124, allocations: 22.2 kB / 1.199 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.2138, allocations: 1.893 MB / 1.201 GB, free: 13.72 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.952e-05/0.2139, allocations: 98.7 kB / 1.201 GB, free: 13.6 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4e-05/0.2139, allocations: 13.08 kB / 1.201 GB, free: 13.59 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.214, allocations: 43.42 kB / 1.201 GB, free: 13.55 MB / 0.8387 GB Notification: Performance of SimCode: time 8.22e-07/0.214, allocations: 0 / 1.201 GB, free: 13.55 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.2286, allocations: 3.405 MB / 1.204 GB, free: 10.27 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.915/6.144, allocations: 9.266 kB / 1.204 GB, free: 10.27 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line_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_Line.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.155215984210372] Failed to read output from testmodel.py, exit status != 0: 6.218683811835945 6.227487971 6.018175059 Calling exit ...