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.0008977/0.0008977, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001051/0.001051, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.921/0.921, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7371/0.7371, allocations: 154.5 MB / 413.7 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.55e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002763/0.002789, allocations: 1.887 MB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002112/0.0049, allocations: 1.223 MB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.005051, allocations: 3.938 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.005474, allocations: 95.56 kB / 0.6212 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004121/0.005886, allocations: 135.3 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.006228, allocations: 131.5 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.00653, allocations: 231.3 kB / 0.6217 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.006677, allocations: 37.7 kB / 0.6217 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.006853, allocations: 135.6 kB / 0.6218 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.006978, allocations: 91.7 kB / 0.6219 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.007002, allocations: 16 kB / 0.6219 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.007117, allocations: 55.97 kB / 0.622 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.522e-05/0.007192, allocations: 63.75 kB / 0.622 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.007253, allocations: 55.83 kB / 0.6221 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.007558, allocations: 279 kB / 0.6224 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.007562, allocations: 0 / 0.6224 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.764e-06/0.007563, allocations: 0 / 0.6224 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.007569, allocations: 4 kB / 0.6224 GB, free: 9.258 MB / 0.5886 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.0007089/0.008278, allocations: 488.9 kB / 0.6228 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.008317, allocations: 9.469 kB / 0.6228 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.00836, allocations: 42.75 kB / 0.6229 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.008413, allocations: 24.8 kB / 0.6229 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.008728, allocations: 236.7 kB / 0.6231 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.008744, allocations: 7.984 kB / 0.6231 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.008761, allocations: 12 kB / 0.6232 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.008968, allocations: 117.6 kB / 0.6233 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.008978, allocations: 0 / 0.6233 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.00899, allocations: 4 kB / 0.6233 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.008998, allocations: 7.938 kB / 0.6233 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.009154, allocations: 87.86 kB / 0.6234 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.009695, allocations: 399.8 kB / 0.6237 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.009907, allocations: 122.6 kB / 0.6239 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.009993, allocations: 60.81 kB / 0.6239 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.01001, allocations: 4 kB / 0.6239 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.0102, allocations: 125.9 kB / 0.624 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.0102, allocations: 0 / 0.624 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0004082/0.01061, allocations: 257.2 kB / 0.6243 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.01065, allocations: 59.39 kB / 0.6243 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.01089, allocations: 337.8 kB / 0.6247 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.01092, allocations: 37.7 kB / 0.6247 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.01099, allocations: 144.5 kB / 0.6248 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.01102, allocations: 43.62 kB / 0.6249 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.01109, allocations: 53.7 kB / 0.6249 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.01118, allocations: 342.8 kB / 0.6253 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.0113, allocations: 83.95 kB / 0.6253 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.01143, allocations: 129.1 kB / 0.6255 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.01166, allocations: 195.8 kB / 0.6257 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01166, allocations: 0 / 0.6257 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003247/0.01199, allocations: 289.3 kB / 0.6259 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.012, allocations: 7.938 kB / 0.6259 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01201, allocations: 4 kB / 0.6259 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.01202, allocations: 0 / 0.6259 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.01214, allocations: 43.91 kB / 0.626 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.01215, allocations: 4 kB / 0.626 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.01223, allocations: 19.94 kB / 0.626 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.01225, allocations: 12 kB / 0.626 GB, free: 5.297 MB / 0.5886 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.0001152/0.01236, allocations: 166.7 kB / 0.6262 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.01239, allocations: 31.78 kB / 0.6262 GB, free: 5.094 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.01269, allocations: 213.5 kB / 0.6264 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01269, allocations: 4 kB / 0.6264 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.0127, allocations: 0 / 0.6264 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.0127, allocations: 0 / 0.6264 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.01321, allocations: 0.5327 MB / 0.6269 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01321, allocations: 0 / 0.6269 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.01326, allocations: 15.92 kB / 0.6269 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.01327, allocations: 4 kB / 0.627 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.01328, allocations: 7.922 kB / 0.627 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.01328, allocations: 0 / 0.627 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01328, allocations: 0 / 0.627 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.01354, allocations: 306.1 kB / 0.6273 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.01357, allocations: 31.75 kB / 0.6273 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.0136, allocations: 11.98 kB / 0.6273 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.01367, allocations: 11.98 kB / 0.6273 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.01372, allocations: 19.97 kB / 0.6273 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.01374, allocations: 8 kB / 0.6273 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001744/0.01391, allocations: 209.2 kB / 0.6275 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01391, allocations: 0 / 0.6275 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000246/0.01416, allocations: 51.94 kB / 0.6276 GB, free: 3.613 MB / 0.5886 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.001178/0.01533, allocations: 1.185 MB / 0.6287 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.01562, allocations: 179.7 kB / 0.6289 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01563, allocations: 0 / 0.6289 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.01573, allocations: 75.83 kB / 0.629 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.016, allocations: 60.66 kB / 0.629 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.01833, allocations: 2.638 MB / 0.6316 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.432e-05/0.01842, allocations: 145.1 kB / 0.6318 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.276e-05/0.0185, allocations: 37.88 kB / 0.6318 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.446e-05/0.0186, allocations: 72.47 kB / 0.6319 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.0186, allocations: 4 kB / 0.6319 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.0415, allocations: 6.497 MB / 0.6382 GB, free: 8.922 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/6.913, allocations: 10.5 kB / 0.6382 GB, free: 8.914 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 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: 9.844492335803807] Failed to read output from testmodel.py, exit status != 0: 7.016169517301023 7.028272424 7.017865059 Calling exit ...