Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007942/0.0007942, 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.0009065/0.0009065, allocations: 223.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 1.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8172/0.8172, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001046/0.001046, allocations: 66 kB / 0.7182 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5676/0.5686, allocations: 102 MB / 0.8179 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.003066/0.5717, allocations: 1.955 MB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.5735, allocations: 1.301 MB / 0.8211 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.5737, allocations: 3.938 kB / 0.8211 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.5741, allocations: 96.78 kB / 0.8212 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.5745, allocations: 139 kB / 0.8213 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.5748, allocations: 129.6 kB / 0.8214 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.5751, allocations: 229.4 kB / 0.8216 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.5753, allocations: 34.59 kB / 0.8217 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.5755, allocations: 114.3 kB / 0.8218 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.5756, allocations: 107.9 kB / 0.8219 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.5757, allocations: 13.47 kB / 0.8219 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.5758, allocations: 59.55 kB / 0.8219 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.5759, allocations: 68.39 kB / 0.822 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.5e-05/0.576, allocations: 90.36 kB / 0.8221 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.5763, allocations: 276 kB / 0.8224 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5764, allocations: 5.062 kB / 0.8224 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5764, allocations: 3.938 kB / 0.8224 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.036e-06/0.5764, allocations: 0 / 0.8224 GB, free: 14.36 MB / 0.6198 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.0008267/0.5772, allocations: 495.7 kB / 0.8228 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5772, allocations: 12.12 kB / 0.8228 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.5773, allocations: 41.2 kB / 0.8229 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/0.5773, allocations: 24.36 kB / 0.8229 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.5777, allocations: 234.5 kB / 0.8231 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.5777, allocations: 11.5 kB / 0.8231 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.5777, allocations: 6.094 kB / 0.8232 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.578, allocations: 118 kB / 0.8233 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.578, allocations: 3.938 kB / 0.8233 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.578, allocations: 10.59 kB / 0.8233 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.578, allocations: 2.562 kB / 0.8233 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.5782, allocations: 80.62 kB / 0.8234 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000739/0.5789, allocations: 425.5 kB / 0.8238 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.5792, allocations: 129.4 kB / 0.8239 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.666e-05/0.5793, allocations: 49.2 kB / 0.8239 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.5793, allocations: 3.844 kB / 0.8239 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.5796, allocations: 130.5 kB / 0.8241 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.5796, allocations: 0 / 0.8241 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0004757/0.58, allocations: 243.2 kB / 0.8243 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.5801, allocations: 58.59 kB / 0.8243 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.5804, allocations: 341.5 kB / 0.8247 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.5804, allocations: 31.89 kB / 0.8247 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.5805, allocations: 151.1 kB / 0.8248 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.5805, allocations: 38.02 kB / 0.8249 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/0.5806, allocations: 62.62 kB / 0.8249 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5807, allocations: 338.5 kB / 0.8253 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.5809, allocations: 80.59 kB / 0.8253 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.5811, allocations: 137.7 kB / 0.8255 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.5813, allocations: 191.2 kB / 0.8257 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5813, allocations: 4 kB / 0.8257 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003871/0.5817, allocations: 282.5 kB / 0.8259 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5817, allocations: 2.969 kB / 0.8259 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5818, allocations: 2.531 kB / 0.8259 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.5818, allocations: 3.312 kB / 0.8259 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.5819, allocations: 45.11 kB / 0.826 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.5819, allocations: 3.156 kB / 0.826 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.875e-05/0.582, allocations: 22.47 kB / 0.826 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.582, allocations: 13.28 kB / 0.826 GB, free: 11.92 MB / 0.6198 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.0001248/0.5822, allocations: 166.8 kB / 0.8262 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.5822, allocations: 34.81 kB / 0.8262 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.5825, allocations: 210.2 kB / 0.8264 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.5825, allocations: 1.594 kB / 0.8264 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5826, allocations: 1.797 kB / 0.8264 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5826, allocations: 0.5156 kB / 0.8264 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006137/0.5832, allocations: 0.519 MB / 0.8269 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5832, allocations: 5.938 kB / 0.8269 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.5832, allocations: 13.08 kB / 0.8269 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5832, allocations: 1.406 kB / 0.8269 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.5832, allocations: 6.797 kB / 0.8269 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5833, allocations: 1.344 kB / 0.827 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5833, allocations: 4.5 kB / 0.827 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.5836, allocations: 301.2 kB / 0.8272 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.5836, allocations: 31.06 kB / 0.8273 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.5837, allocations: 3.062 kB / 0.8273 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.5838, allocations: 17.28 kB / 0.8273 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.5838, allocations: 15.72 kB / 0.8273 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.5838, allocations: 10.67 kB / 0.8273 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001799/0.584, allocations: 212 kB / 0.8275 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.584, allocations: 0 / 0.8275 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002502/0.5843, allocations: 55.05 kB / 0.8276 GB, free: 10.93 MB / 0.6198 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.00121/0.5855, allocations: 1.142 MB / 0.8287 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.5858, allocations: 182.4 kB / 0.8289 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5858, allocations: 0 / 0.8289 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.5859, allocations: 65.62 kB / 0.8289 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.5862, allocations: 55.81 kB / 0.829 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.589, allocations: 2.62 MB / 0.8315 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.5893, allocations: 0.7523 MB / 0.8323 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001089/0.5894, allocations: 29.97 kB / 0.8323 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.5896, allocations: 79.36 kB / 0.8324 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of SimCode: time 1.143e-06/0.5896, allocations: 0 / 0.8324 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.6165, allocations: 5.751 MB / 0.838 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.793/7.409, allocations: 5.266 kB / 0.838 GB, free: 6.082 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Change.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.54288966092281] Failed to read output from testmodel.py, exit status != 0: 7.509854957927018 7.527999777 6.948052382 Calling exit ...