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.00117/0.00117, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00148/0.00148, allocations: 169.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.9255/0.9255, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7836/0.7836, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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 4.118e-06/4.118e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/3.111e-05, allocations: 8.625 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002812/0.002843, allocations: 1.889 MB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.00458, allocations: 1.22 MB / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.004712, allocations: 3.938 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.005089, allocations: 91.56 kB / 0.6212 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.0055, allocations: 143.2 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.005872, allocations: 135.5 kB / 0.6215 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.006227, allocations: 223.4 kB / 0.6217 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.006421, allocations: 41.7 kB / 0.6217 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.006655, allocations: 131.6 kB / 0.6218 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.006817, allocations: 95.69 kB / 0.6219 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.006847, allocations: 16 kB / 0.6219 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.006978, allocations: 47.98 kB / 0.622 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.459e-05/0.007073, allocations: 67.75 kB / 0.622 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.941e-05/0.007152, allocations: 51.83 kB / 0.6221 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.007541, allocations: 279.1 kB / 0.6224 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.007545, allocations: 4 kB / 0.6224 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.007547, allocations: 0 / 0.6224 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.007555, allocations: 4 kB / 0.6224 GB, free: 9.293 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.0008528/0.008407, allocations: 488.8 kB / 0.6228 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.008449, allocations: 9.469 kB / 0.6228 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.008491, allocations: 42.75 kB / 0.6229 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.008542, allocations: 28.78 kB / 0.6229 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.008845, allocations: 232.7 kB / 0.6231 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.00886, allocations: 8 kB / 0.6231 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.008877, allocations: 12 kB / 0.6232 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.00909, allocations: 117.6 kB / 0.6233 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.009098, allocations: 0 / 0.6233 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.009112, allocations: 7.984 kB / 0.6233 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.00912, allocations: 7.938 kB / 0.6233 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.009273, allocations: 83.92 kB / 0.6234 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.009808, allocations: 407.7 kB / 0.6238 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.01003, allocations: 122.6 kB / 0.6239 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.01015, allocations: 60.75 kB / 0.6239 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.01017, allocations: 0 / 0.6239 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.01039, allocations: 119.3 kB / 0.624 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.01039, allocations: 0 / 0.624 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0004756/0.01087, allocations: 267.7 kB / 0.6243 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.01092, allocations: 63.34 kB / 0.6244 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.01122, allocations: 337.8 kB / 0.6247 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.01125, allocations: 33.7 kB / 0.6247 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.412e-05/0.01134, allocations: 140.5 kB / 0.6248 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.01138, allocations: 39.69 kB / 0.6249 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.01146, allocations: 61.69 kB / 0.6249 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.01157, allocations: 334.8 kB / 0.6253 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.01171, allocations: 87.95 kB / 0.6253 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.01186, allocations: 129.1 kB / 0.6255 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.01212, allocations: 192.2 kB / 0.6256 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01212, allocations: 0 / 0.6256 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003366/0.01246, allocations: 285.2 kB / 0.6259 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.01247, allocations: 7.938 kB / 0.6259 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.01248, allocations: 4 kB / 0.6259 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.01249, allocations: 0 / 0.6259 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.01261, allocations: 52.06 kB / 0.626 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01262, allocations: 7.938 kB / 0.626 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.114e-05/0.0127, allocations: 19.94 kB / 0.626 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.01272, allocations: 8 kB / 0.626 GB, free: 5.328 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.000117/0.01284, allocations: 162.7 kB / 0.6262 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.01286, allocations: 27.8 kB / 0.6262 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.01317, allocations: 218.2 kB / 0.6264 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01317, allocations: 11.94 kB / 0.6264 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01318, allocations: 0 / 0.6264 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01318, allocations: 0 / 0.6264 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.0137, allocations: 0.5249 MB / 0.6269 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01371, allocations: 0 / 0.6269 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.01376, allocations: 11.98 kB / 0.6269 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.01376, allocations: 4 kB / 0.6269 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.01377, allocations: 7.984 kB / 0.627 GB, free: 4.305 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01378, allocations: 4 kB / 0.627 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01378, allocations: 0 / 0.627 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.01406, allocations: 303.7 kB / 0.6272 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.01409, allocations: 31.75 kB / 0.6273 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.01412, allocations: 7.984 kB / 0.6273 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.01419, allocations: 15.98 kB / 0.6273 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.01425, allocations: 23.95 kB / 0.6273 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.01426, allocations: 4 kB / 0.6273 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001507/0.01441, allocations: 217.2 kB / 0.6275 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01441, allocations: 0 / 0.6275 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002465/0.01466, allocations: 51.94 kB / 0.6276 GB, free: 3.641 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.001199/0.01586, allocations: 1.181 MB / 0.6287 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.01618, allocations: 183.7 kB / 0.6289 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01618, allocations: 3.938 kB / 0.6289 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.01628, allocations: 63.95 kB / 0.629 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.01656, allocations: 60.39 kB / 0.629 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.01894, allocations: 2.645 MB / 0.6316 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.01904, allocations: 141.2 kB / 0.6318 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.702e-05/0.01913, allocations: 33.94 kB / 0.6318 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.01937, allocations: 76.47 kB / 0.6319 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of SimCode: time 8.32e-07/0.01937, allocations: 0 / 0.6319 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.03819, allocations: 6.502 MB / 0.6382 GB, free: 8.953 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/6.967, allocations: 14.5 kB / 0.6382 GB, free: 8.941 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 & /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: 9.833475100807846] Failed to read output from testmodel.py, exit status != 0: 7.069839453324676 7.081354287 7.071620286 Calling exit ...