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.0009166/0.0009166, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001105/0.001105, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9734/0.9734, allocations: 230.6 MB / 256 MB, free: 9.777 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.03718/0.03718, allocations: 12.17 MB / 324.6 MB, free: 6.25 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.0007546/0.0007546, allocations: 31.94 kB / 384.1 MB, free: 10.66 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.642/1.642, allocations: 353.8 MB / 0.7787 GB, free: 3.102 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.001657/0.001657, allocations: 117.5 kB / 1.06 GB, free: 25.06 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2237, allocations: 134.9 MB / 1.192 GB, free: 7.883 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Change): time 0.002554/0.2262, allocations: 1.949 MB / 1.194 GB, free: 5.922 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.2276, allocations: 1.302 MB / 1.195 GB, free: 4.617 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.2277, allocations: 7.938 kB / 1.195 GB, free: 4.609 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.2281, allocations: 99.56 kB / 1.195 GB, free: 4.512 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.2284, allocations: 135.4 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.2286, allocations: 135.6 kB / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.229, allocations: 223.4 kB / 1.196 GB, free: 4.027 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2291, allocations: 34.06 kB / 1.196 GB, free: 3.992 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.2293, allocations: 111.5 kB / 1.196 GB, free: 3.883 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.2294, allocations: 107.6 kB / 1.196 GB, free: 3.777 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.2294, allocations: 12 kB / 1.196 GB, free: 3.766 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.975e-05/0.2295, allocations: 59.91 kB / 1.196 GB, free: 3.707 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.2296, allocations: 71.75 kB / 1.196 GB, free: 3.637 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.534e-05/0.2297, allocations: 91.42 kB / 1.196 GB, free: 3.547 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.2299, allocations: 282.8 kB / 1.196 GB, free: 3.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2299, allocations: 0 / 1.196 GB, free: 3.27 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2299, allocations: 0 / 1.196 GB, free: 3.27 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.23, allocations: 0 / 1.196 GB, free: 3.27 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.0006107/0.2306, allocations: 496.8 kB / 1.197 GB, free: 2.754 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2306, allocations: 8.031 kB / 1.197 GB, free: 2.746 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.2306, allocations: 50.67 kB / 1.197 GB, free: 2.688 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.2307, allocations: 24.8 kB / 1.197 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.2309, allocations: 228.9 kB / 1.197 GB, free: 2.418 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.231, allocations: 12 kB / 1.197 GB, free: 2.406 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.231, allocations: 8 kB / 1.197 GB, free: 2.398 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.2312, allocations: 119.3 kB / 1.197 GB, free: 2.277 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2312, allocations: 3.938 kB / 1.197 GB, free: 2.273 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2312, allocations: 0 / 1.197 GB, free: 2.273 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2312, allocations: 8 kB / 1.197 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.2314, allocations: 83.92 kB / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.2319, allocations: 427.5 kB / 1.198 GB, free: 1.723 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.2321, allocations: 138.5 kB / 1.198 GB, free: 1.578 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.851e-05/0.2322, allocations: 48.83 kB / 1.198 GB, free: 1.527 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2322, allocations: 0 / 1.198 GB, free: 1.527 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.2324, allocations: 129.2 kB / 1.198 GB, free: 1.391 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.2324, allocations: 4 kB / 1.198 GB, free: 1.387 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0003656/0.2327, allocations: 249.3 kB / 1.198 GB, free: 1.137 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.2328, allocations: 55.39 kB / 1.198 GB, free: 1.07 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.233, allocations: 341.8 kB / 1.199 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.233, allocations: 29.7 kB / 1.199 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.2331, allocations: 136.5 kB / 1.199 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.2331, allocations: 51.67 kB / 1.199 GB, free: 0.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.2332, allocations: 57.7 kB / 1.199 GB, free: 448 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.2333, allocations: 330.8 kB / 1.199 GB, free: 108 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.2334, allocations: 87.94 kB / 1.199 GB, free: 20 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.2335, allocations: 137.2 kB / 1.199 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.2337, allocations: 190.3 kB / 1.2 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2337, allocations: 7.938 kB / 1.2 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000296/0.234, allocations: 278.5 kB / 1.2 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.234, allocations: 8 kB / 1.2 GB, free: 15.37 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.234, allocations: 0 / 1.2 GB, free: 15.37 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2341, allocations: 4 kB / 1.2 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.2342, allocations: 40.12 kB / 1.2 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.465e-06/0.2342, allocations: 11.94 kB / 1.2 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.01e-05/0.2342, allocations: 23.88 kB / 1.2 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.2343, allocations: 11.98 kB / 1.2 GB, free: 15.28 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.0001036/0.2344, allocations: 169.6 kB / 1.2 GB, free: 15.1 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.2344, allocations: 19.86 kB / 1.2 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.2347, allocations: 209.2 kB / 1.2 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2347, allocations: 4 kB / 1.2 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2347, allocations: 0 / 1.2 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2347, allocations: 3.938 kB / 1.2 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.2351, allocations: 0.5206 MB / 1.201 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2351, allocations: 4 kB / 1.201 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.2352, allocations: 15.98 kB / 1.201 GB, free: 14.28 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2352, allocations: 4 kB / 1.201 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.2352, allocations: 7.984 kB / 1.201 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2352, allocations: 0 / 1.201 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2352, allocations: 0 / 1.201 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.2354, allocations: 297.5 kB / 1.201 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.2354, allocations: 27.75 kB / 1.201 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.2355, allocations: 12 kB / 1.201 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.2355, allocations: 19.97 kB / 1.201 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.2356, allocations: 15.97 kB / 1.201 GB, free: 13.89 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.2356, allocations: 11.94 kB / 1.201 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.000125/0.2357, allocations: 205.2 kB / 1.201 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2357, allocations: 0 / 1.201 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001989/0.2359, allocations: 55.92 kB / 1.201 GB, free: 13.62 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 (16): * Single equations (assignments): 11 * 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.001078/0.237, allocations: 1.148 MB / 1.203 GB, free: 12.61 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.2373, allocations: 181 kB / 1.203 GB, free: 12.44 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2373, allocations: 0 / 1.203 GB, free: 12.44 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 9.353e-05/0.2374, allocations: 66.2 kB / 1.203 GB, free: 12.38 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.2376, allocations: 52.67 kB / 1.203 GB, free: 12.33 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.2396, allocations: 2.615 MB / 1.205 GB, free: 9.594 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.2398, allocations: 0.748 MB / 1.206 GB, free: 8.82 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 6.954e-05/0.2399, allocations: 33.95 kB / 1.206 GB, free: 8.789 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.657e-05/0.2399, allocations: 79.39 kB / 1.206 GB, free: 8.711 MB / 0.8387 GB Notification: Performance of SimCode: time 3.71e-07/0.2399, allocations: 0 / 1.206 GB, free: 8.711 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.2565, allocations: 5.751 MB / 1.212 GB, free: 3.047 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.764/7.021, allocations: 7.172 kB / 1.212 GB, free: 3.043 MB / 0.8387 GB " [Timeout remaining time 653] (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: 11.5751166138798] Failed to read output from testmodel.py, exit status != 0: 7.1183818792924285 7.127296156 6.895456954 Calling exit ...