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.0009451/0.0009451, 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.00108/0.00108, allocations: 208.1 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.9644/0.9644, allocations: 230.6 MB / 256 MB, free: 9.621 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.03885/0.03885, allocations: 12.19 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.0005454/0.0005454, allocations: 27.94 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.681/1.681, allocations: 353.9 MB / 0.7787 GB, free: 4.562 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.001819/0.001819, allocations: 127.1 kB / 1.06 GB, free: 24.93 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2746, allocations: 134.9 MB / 1.192 GB, free: 7.547 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Change): time 0.002823/0.2774, allocations: 1.897 MB / 1.194 GB, free: 5.641 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.2791, allocations: 1.22 MB / 1.195 GB, free: 4.418 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.2792, allocations: 7.938 kB / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.2796, allocations: 95.56 kB / 1.195 GB, free: 4.316 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.2801, allocations: 135.4 kB / 1.195 GB, free: 4.184 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.2805, allocations: 131.6 kB / 1.195 GB, free: 4.055 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.2808, allocations: 223.4 kB / 1.195 GB, free: 3.836 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.281, allocations: 34.05 kB / 1.195 GB, free: 3.801 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.2811, allocations: 103.6 kB / 1.195 GB, free: 3.699 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.2813, allocations: 107.6 kB / 1.196 GB, free: 3.594 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.2813, allocations: 16 kB / 1.196 GB, free: 3.578 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.2814, allocations: 55.91 kB / 1.196 GB, free: 3.523 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.2815, allocations: 63.81 kB / 1.196 GB, free: 3.461 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.66e-05/0.2816, allocations: 75.53 kB / 1.196 GB, free: 3.387 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.282, allocations: 286.7 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.282, allocations: 0 / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.824e-06/0.282, allocations: 0 / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.282, allocations: 0 / 1.196 GB, free: 3.105 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.0007932/0.2828, allocations: 485 kB / 1.196 GB, free: 2.602 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.2828, allocations: 12.02 kB / 1.196 GB, free: 2.59 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.2829, allocations: 46.73 kB / 1.197 GB, free: 2.535 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.2829, allocations: 24.8 kB / 1.197 GB, free: 2.512 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.2833, allocations: 240.8 kB / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2833, allocations: 8 kB / 1.197 GB, free: 2.246 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.2834, allocations: 11.98 kB / 1.197 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.2836, allocations: 118.5 kB / 1.197 GB, free: 2.113 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2836, allocations: 0 / 1.197 GB, free: 2.113 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.2836, allocations: 7.938 kB / 1.197 GB, free: 2.105 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2836, allocations: 8 kB / 1.197 GB, free: 2.098 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.2838, allocations: 88.61 kB / 1.197 GB, free: 2.012 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/0.2844, allocations: 395.6 kB / 1.197 GB, free: 1.582 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.2846, allocations: 130.5 kB / 1.198 GB, free: 1.445 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.744e-05/0.2847, allocations: 60.81 kB / 1.198 GB, free: 1.383 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.2847, allocations: 0 / 1.198 GB, free: 1.383 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.2849, allocations: 123.5 kB / 1.198 GB, free: 1.25 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.2849, allocations: 0 / 1.198 GB, free: 1.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0004349/0.2854, allocations: 259.1 kB / 1.198 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.2854, allocations: 59.39 kB / 1.198 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.2857, allocations: 341.8 kB / 1.198 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.2857, allocations: 33.7 kB / 1.198 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.342e-05/0.2858, allocations: 136.4 kB / 1.198 GB, free: 408 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.2858, allocations: 43.67 kB / 1.199 GB, free: 364 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/0.2859, allocations: 57.7 kB / 1.199 GB, free: 300 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.286, allocations: 338.8 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.2861, allocations: 87.94 kB / 1.199 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2863, allocations: 133.1 kB / 1.199 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.2865, allocations: 206.4 kB / 1.199 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2865, allocations: 0 / 1.199 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003506/0.2869, allocations: 286.8 kB / 1.2 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2869, allocations: 4 kB / 1.2 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2869, allocations: 4 kB / 1.2 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2869, allocations: 0 / 1.2 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.287, allocations: 47.91 kB / 1.2 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.2871, allocations: 4 kB / 1.2 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.2872, allocations: 23.94 kB / 1.2 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.2872, allocations: 8 kB / 1.2 GB, free: 15.12 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.0001439/0.2873, allocations: 165.9 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.2874, allocations: 27.8 kB / 1.2 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.2877, allocations: 217.3 kB / 1.2 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2877, allocations: 4 kB / 1.2 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2877, allocations: 0 / 1.2 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2877, allocations: 3.984 kB / 1.2 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005938/0.2883, allocations: 0.521 MB / 1.201 GB, free: 14.13 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2883, allocations: 0 / 1.201 GB, free: 14.13 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.2884, allocations: 19.92 kB / 1.201 GB, free: 14.11 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2884, allocations: 0 / 1.201 GB, free: 14.11 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.2884, allocations: 4 kB / 1.201 GB, free: 14.11 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.2884, allocations: 3.984 kB / 1.201 GB, free: 14.1 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2884, allocations: 4 kB / 1.201 GB, free: 14.1 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.2887, allocations: 305.4 kB / 1.201 GB, free: 13.79 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.2888, allocations: 35.75 kB / 1.201 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.2888, allocations: 7.984 kB / 1.201 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.2889, allocations: 11.98 kB / 1.201 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.2889, allocations: 23.91 kB / 1.201 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.2889, allocations: 8 kB / 1.201 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001479/0.2891, allocations: 213.1 kB / 1.201 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2891, allocations: 0 / 1.201 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002505/0.2893, allocations: 51.94 kB / 1.201 GB, free: 13.45 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.001345/0.2907, allocations: 1.178 MB / 1.202 GB, free: 12.43 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.291, allocations: 183.6 kB / 1.203 GB, free: 12.25 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.291, allocations: 0 / 1.203 GB, free: 12.25 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.2912, allocations: 76.2 kB / 1.203 GB, free: 12.18 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.2915, allocations: 57.03 kB / 1.203 GB, free: 12.13 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.2941, allocations: 2.634 MB / 1.205 GB, free: 9.375 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.2942, allocations: 141.2 kB / 1.205 GB, free: 9.219 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 0.000105/0.2943, allocations: 33.94 kB / 1.205 GB, free: 9.188 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.2944, allocations: 75.41 kB / 1.205 GB, free: 9.113 MB / 0.8387 GB Notification: Performance of SimCode: time 1.363e-06/0.2945, allocations: 3.938 kB / 1.205 GB, free: 9.109 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.321, allocations: 6.375 MB / 1.212 GB, free: 2.816 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/6.858, allocations: 10.38 kB / 1.212 GB, free: 2.812 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.305998533032835] Failed to read output from testmodel.py, exit status != 0: 6.958740720525384 6.967936995 6.684061988 Calling exit ...