Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.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.0008044/0.0008044, allocations: 105.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.001143/0.001143, allocations: 212.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.8736/0.8736, allocations: 230.6 MB / 256 MB, free: 9.582 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.03611/0.03611, allocations: 12.18 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.0003981/0.0003981, allocations: 31.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.586/1.586, allocations: 353.8 MB / 0.7787 GB, free: 4.543 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.Integers.Validation.Change,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Change",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.001385/0.001385, allocations: 118 kB / 1.06 GB, free: 24.82 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2004, allocations: 134.9 MB / 1.192 GB, free: 7.496 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Change): time 0.002755/0.2031, allocations: 1.903 MB / 1.194 GB, free: 5.582 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2045, allocations: 1.22 MB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.2046, allocations: 3.938 kB / 1.195 GB, free: 4.355 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.2049, allocations: 95.56 kB / 1.195 GB, free: 4.262 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.2052, allocations: 139.4 kB / 1.195 GB, free: 4.125 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.2055, allocations: 135.5 kB / 1.195 GB, free: 3.992 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.2057, allocations: 227.4 kB / 1.195 GB, free: 3.77 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.2058, allocations: 30.08 kB / 1.195 GB, free: 3.738 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.206, allocations: 99.56 kB / 1.195 GB, free: 3.641 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.2061, allocations: 111.6 kB / 1.196 GB, free: 3.531 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.2061, allocations: 12 kB / 1.196 GB, free: 3.52 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.324e-05/0.2062, allocations: 47.98 kB / 1.196 GB, free: 3.473 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.2063, allocations: 71.75 kB / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.2063, allocations: 71.53 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.2066, allocations: 290.7 kB / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2066, allocations: 0 / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2066, allocations: 0 / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.2066, allocations: 0 / 1.196 GB, free: 3.047 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006499/0.2073, allocations: 492.9 kB / 1.196 GB, free: 2.535 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2073, allocations: 12.03 kB / 1.196 GB, free: 2.523 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.2073, allocations: 34.75 kB / 1.197 GB, free: 2.48 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.2074, allocations: 24.8 kB / 1.197 GB, free: 2.457 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.2077, allocations: 240.8 kB / 1.197 GB, free: 2.199 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.2077, allocations: 11.98 kB / 1.197 GB, free: 2.188 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.2077, allocations: 12 kB / 1.197 GB, free: 2.176 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.2079, allocations: 115.3 kB / 1.197 GB, free: 2.059 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.2079, allocations: 4 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2079, allocations: 7.938 kB / 1.197 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2079, allocations: 0 / 1.197 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.2081, allocations: 91.86 kB / 1.197 GB, free: 1.957 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.2086, allocations: 395.6 kB / 1.197 GB, free: 1.527 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.2088, allocations: 126.6 kB / 1.197 GB, free: 1.395 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.821e-05/0.2088, allocations: 56.81 kB / 1.198 GB, free: 1.336 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.2089, allocations: 7.984 kB / 1.198 GB, free: 1.328 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.209, allocations: 129.6 kB / 1.198 GB, free: 1.191 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.209, allocations: 0 / 1.198 GB, free: 1.191 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0003843/0.2094, allocations: 257.2 kB / 1.198 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.2095, allocations: 59.39 kB / 1.198 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.2097, allocations: 337.8 kB / 1.198 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2097, allocations: 29.7 kB / 1.198 GB, free: 500 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.2098, allocations: 140.4 kB / 1.198 GB, free: 352 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.2098, allocations: 47.61 kB / 1.199 GB, free: 304 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.2099, allocations: 57.69 kB / 1.199 GB, free: 240 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003497/0.2102, allocations: 338.8 kB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2103, allocations: 87.95 kB / 1.199 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.2105, allocations: 133.1 kB / 1.199 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.2107, allocations: 210.2 kB / 1.199 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2107, allocations: 0 / 1.199 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003021/0.211, allocations: 286.3 kB / 1.2 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.211, allocations: 8 kB / 1.2 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.211, allocations: 0 / 1.2 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.211, allocations: 4 kB / 1.2 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.2111, allocations: 43.91 kB / 1.2 GB, free: 15.1 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2111, allocations: 0 / 1.2 GB, free: 15.1 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.2112, allocations: 24.09 kB / 1.2 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.2112, allocations: 16 kB / 1.2 GB, free: 15.06 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0001029/0.2113, allocations: 157.8 kB / 1.2 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.2114, allocations: 27.8 kB / 1.2 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.2117, allocations: 217.1 kB / 1.2 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2117, allocations: 0 / 1.2 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2117, allocations: 0 / 1.2 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2117, allocations: 0 / 1.2 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.2121, allocations: 0.5249 MB / 1.201 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2122, allocations: 0 / 1.201 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.2122, allocations: 19.92 kB / 1.201 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.2122, allocations: 0 / 1.201 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2122, allocations: 7.984 kB / 1.201 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2122, allocations: 0 / 1.201 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2122, allocations: 0 / 1.201 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.2125, allocations: 313.4 kB / 1.201 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.2125, allocations: 27.75 kB / 1.201 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.2125, allocations: 11.98 kB / 1.201 GB, free: 13.69 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.2126, allocations: 11.98 kB / 1.201 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.2126, allocations: 15.97 kB / 1.201 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.2126, allocations: 8 kB / 1.201 GB, free: 13.65 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001276/0.2128, allocations: 221.1 kB / 1.201 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2128, allocations: 0 / 1.201 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002093/0.213, allocations: 43.94 kB / 1.201 GB, free: 13.4 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001135/0.2141, allocations: 1.182 MB / 1.202 GB, free: 12.38 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002852/0.2144, allocations: 191.2 kB / 1.203 GB, free: 12.2 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2144, allocations: 320 / 1.203 GB, free: 12.2 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 9.99e-05/0.2145, allocations: 71.89 kB / 1.203 GB, free: 12.12 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.2148, allocations: 63.77 kB / 1.203 GB, free: 12.07 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.2169, allocations: 2.63 MB / 1.205 GB, free: 9.324 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.628e-05/0.2169, allocations: 141.1 kB / 1.205 GB, free: 9.168 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 7.619e-05/0.217, allocations: 41.92 kB / 1.205 GB, free: 9.129 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.2171, allocations: 75.41 kB / 1.205 GB, free: 9.055 MB / 0.8387 GB Notification: Performance of SimCode: time 4.91e-07/0.2171, allocations: 3.938 kB / 1.206 GB, free: 9.051 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.2357, allocations: 6.363 MB / 1.212 GB, free: 2.77 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.04/6.276, allocations: 10.62 kB / 1.212 GB, free: 2.762 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change_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_Integers_Validation_Change.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.382336283102632] Failed to read output from testmodel.py, exit status != 0: 6.368288496509194 6.377182313 6.168919384 Calling exit ...