Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Ramp.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.0007653/0.0007653, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001073/0.001073, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.8688/0.8688, allocations: 230.6 MB / 256 MB, free: 9.598 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.03548/0.03548, allocations: 12.19 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.0004016/0.0004016, allocations: 23.95 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.484/1.484, allocations: 353.9 MB / 0.7787 GB, free: 4.609 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.Ramp,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Ramp",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.001632/0.001632, allocations: 123.1 kB / 1.06 GB, free: 24.78 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1933, allocations: 134.9 MB / 1.192 GB, free: 7.496 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001731/0.195, allocations: 1.194 MB / 1.193 GB, free: 6.301 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1967, allocations: 1.718 MB / 1.195 GB, free: 4.57 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.1968, allocations: 4 kB / 1.195 GB, free: 4.566 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.557e-05/0.1969, allocations: 23.62 kB / 1.195 GB, free: 4.543 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.1971, allocations: 91.34 kB / 1.195 GB, free: 4.453 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.1981, allocations: 0.6511 MB / 1.195 GB, free: 3.82 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000711/0.1988, allocations: 0.7564 MB / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.199, allocations: 48.89 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.1993, allocations: 303.3 kB / 1.196 GB, free: 2.715 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.1995, allocations: 247.1 kB / 1.197 GB, free: 2.473 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.63e-05/0.1996, allocations: 68 kB / 1.197 GB, free: 2.406 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/0.1997, allocations: 83.94 kB / 1.197 GB, free: 2.324 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.1998, allocations: 75.8 kB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.1999, allocations: 243.2 kB / 1.197 GB, free: 2.012 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.2004, allocations: 0.6973 MB / 1.198 GB, free: 1.312 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2004, allocations: 0 / 1.198 GB, free: 1.312 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2004, allocations: 4 kB / 1.198 GB, free: 1.309 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2004, allocations: 3.938 kB / 1.198 GB, free: 1.305 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0009275/0.2013, allocations: 0.8653 MB / 1.199 GB, free: 364 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2014, allocations: 8.031 kB / 1.199 GB, free: 356 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.2014, allocations: 46.73 kB / 1.199 GB, free: 300 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.535e-05/0.2015, allocations: 52.75 kB / 1.199 GB, free: 248 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007736/0.2023, allocations: 404.9 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.2023, allocations: 28.36 kB / 1.199 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.2024, allocations: 40.38 kB / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.2026, allocations: 224.4 kB / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2027, allocations: 3.938 kB / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.2027, allocations: 4 kB / 1.199 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2027, allocations: 4 kB / 1.199 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.2029, allocations: 119.9 kB / 1.199 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007799/0.2036, allocations: 0.8197 MB / 1.2 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.204, allocations: 216.2 kB / 1.201 GB, free: 14.28 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.2042, allocations: 102.5 kB / 1.201 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.2042, allocations: 8 kB / 1.201 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.2045, allocations: 289.4 kB / 1.201 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=37): time 1.292e-06/0.2046, allocations: 0 / 1.201 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of matching and sorting (n=37): time 0.0006568/0.2052, allocations: 475.1 kB / 1.201 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.2053, allocations: 110.8 kB / 1.201 GB, free: 13.26 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.2054, allocations: 268.1 kB / 1.202 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.2055, allocations: 45.7 kB / 1.202 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.2056, allocations: 161 kB / 1.202 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.2056, allocations: 103.2 kB / 1.202 GB, free: 12.67 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.2058, allocations: 154 kB / 1.202 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.478e-05/0.2059, allocations: 342.8 kB / 1.202 GB, free: 12.17 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.2063, allocations: 415 kB / 1.203 GB, free: 11.73 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007225/0.207, allocations: 0.7703 MB / 1.204 GB, free: 10.81 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.2075, allocations: 0.5776 MB / 1.204 GB, free: 10.15 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2075, allocations: 4 kB / 1.204 GB, free: 10.15 MB / 0.8387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000943/0.2084, allocations: 1.034 MB / 1.205 GB, free: 9.035 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 7.488e-05/0.2085, allocations: 186.2 kB / 1.205 GB, free: 8.816 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2085, allocations: 7.938 kB / 1.205 GB, free: 8.809 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2085, allocations: 8 kB / 1.205 GB, free: 8.801 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.2086, allocations: 51.91 kB / 1.205 GB, free: 8.75 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.2086, allocations: 16.17 kB / 1.205 GB, free: 8.734 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/0.2091, allocations: 179.5 kB / 1.206 GB, free: 8.559 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.2091, allocations: 47.91 kB / 1.206 GB, free: 8.512 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0001504/0.2093, allocations: 175.5 kB / 1.206 GB, free: 8.332 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.2093, allocations: 31.81 kB / 1.206 GB, free: 8.301 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.2094, allocations: 37.73 kB / 1.206 GB, free: 8.262 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2094, allocations: 4 kB / 1.206 GB, free: 8.258 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2094, allocations: 0 / 1.206 GB, free: 8.258 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2094, allocations: 11.92 kB / 1.206 GB, free: 8.246 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007762/0.2101, allocations: 0.8534 MB / 1.207 GB, free: 7.34 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2102, allocations: 7.984 kB / 1.207 GB, free: 7.332 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.2103, allocations: 47.89 kB / 1.207 GB, free: 7.285 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2103, allocations: 0 / 1.207 GB, free: 7.285 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.2103, allocations: 15.98 kB / 1.207 GB, free: 7.27 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.2103, allocations: 0 / 1.207 GB, free: 7.27 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2103, allocations: 0 / 1.207 GB, free: 7.27 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.2109, allocations: 0.7181 MB / 1.208 GB, free: 6.535 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.211, allocations: 31.75 kB / 1.208 GB, free: 6.504 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.211, allocations: 12.03 kB / 1.208 GB, free: 6.492 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.2111, allocations: 15.98 kB / 1.208 GB, free: 6.477 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.2112, allocations: 35.95 kB / 1.208 GB, free: 6.441 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.2112, allocations: 15.98 kB / 1.208 GB, free: 6.426 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.000102/0.2113, allocations: 183.1 kB / 1.208 GB, free: 6.25 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7e-08/0.2113, allocations: 0 / 1.208 GB, free: 6.25 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0003394/0.2116, allocations: 115.9 kB / 1.208 GB, free: 6.137 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0008674/0.2125, allocations: 1.269 MB / 1.209 GB, free: 4.84 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.2135, allocations: 0.9441 MB / 1.21 GB, free: 3.785 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2135, allocations: 4.062 kB / 1.21 GB, free: 3.781 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.2137, allocations: 139.8 kB / 1.21 GB, free: 3.645 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.2141, allocations: 110 kB / 1.21 GB, free: 3.535 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.2182, allocations: 5.03 MB / 1.215 GB, free: 14.14 MB / 0.8543 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.2183, allocations: 164.9 kB / 1.215 GB, free: 13.96 MB / 0.8543 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.2185, allocations: 51.27 kB / 1.215 GB, free: 13.91 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.2186, allocations: 115.4 kB / 1.216 GB, free: 13.8 MB / 0.8543 GB Notification: Performance of SimCode: time 9.42e-07/0.2186, allocations: 0 / 1.216 GB, free: 13.8 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.242, allocations: 11.43 MB / 1.227 GB, free: 2.684 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.272/6.514, allocations: 13.27 kB / 1.227 GB, free: 2.676 MB / 0.8543 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Ramp.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Ramp_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.395628771744668] Failed to read output from testmodel.py, exit status != 0: 6.591507243923843 6.599967432 6.397945437 Calling exit ...