Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 112.1 kB / 17.07 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 191.8 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.126/1.126, allocations: 147.6 MB / 445.6 MB, free: 8.418 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2486/0.2486, allocations: 62.66 kB / 0.6109 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.3895, allocations: 83.15 MB / 0.6921 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.003882/0.3934, allocations: 1.909 MB / 0.694 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002141/0.3956, allocations: 1.125 MB / 0.6951 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.3957, allocations: 6.125 kB / 0.6951 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.3962, allocations: 94.69 kB / 0.6952 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.3966, allocations: 98.48 kB / 0.6953 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.3971, allocations: 151.2 kB / 0.6954 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.3975, allocations: 213.3 kB / 0.6956 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.3977, allocations: 52.52 kB / 0.6957 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.3979, allocations: 98.86 kB / 0.6957 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.3981, allocations: 102.9 kB / 0.6958 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.3982, allocations: 12.41 kB / 0.6959 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.3983, allocations: 56.09 kB / 0.6959 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.723e-05/0.3984, allocations: 61.81 kB / 0.696 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3986, allocations: 90.5 kB / 0.6961 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.399, allocations: 265.3 kB / 0.6963 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.399, allocations: 4 kB / 0.6963 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.399, allocations: 0 / 0.6963 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.3991, allocations: 0 / 0.6963 GB, free: 10.21 MB / 0.5137 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.001166/0.4002, allocations: 0.5498 MB / 0.6968 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4003, allocations: 9.625 kB / 0.6969 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.4003, allocations: 37.5 kB / 0.6969 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.4004, allocations: 33.11 kB / 0.6969 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.4009, allocations: 283.2 kB / 0.6972 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.4009, allocations: 16.11 kB / 0.6972 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.4009, allocations: 10.88 kB / 0.6972 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.4012, allocations: 120.7 kB / 0.6973 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4013, allocations: 5.312 kB / 0.6973 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.4013, allocations: 9.359 kB / 0.6974 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.4013, allocations: 1.375 kB / 0.6974 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.4016, allocations: 85.3 kB / 0.6974 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007702/0.4024, allocations: 451.8 kB / 0.6979 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.4028, allocations: 131 kB / 0.698 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.4029, allocations: 64.7 kB / 0.6981 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.403, allocations: 1.344 kB / 0.6981 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.4033, allocations: 132.6 kB / 0.6982 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.4033, allocations: 1.156 kB / 0.6982 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.0007164/0.404, allocations: 252 kB / 0.6984 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.4041, allocations: 59.39 kB / 0.6985 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/0.4045, allocations: 326.5 kB / 0.6988 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.4045, allocations: 33.7 kB / 0.6988 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.4046, allocations: 132.4 kB / 0.6989 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.4047, allocations: 43.69 kB / 0.699 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4048, allocations: 61.69 kB / 0.699 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.405, allocations: 334.8 kB / 0.6994 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.4052, allocations: 83.95 kB / 0.6994 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.4055, allocations: 129.1 kB / 0.6996 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.4059, allocations: 189.5 kB / 0.6998 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4059, allocations: 4 kB / 0.6998 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005813/0.4065, allocations: 283.6 kB / 0.7 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4065, allocations: 8 kB / 0.7 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4065, allocations: 3.938 kB / 0.7 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4065, allocations: 4 kB / 0.7 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.4068, allocations: 43.97 kB / 0.7001 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4068, allocations: 3.938 kB / 0.7001 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.4069, allocations: 19.98 kB / 0.7001 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.407, allocations: 12.16 kB / 0.7001 GB, free: 6.562 MB / 0.5137 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.000156/0.4071, allocations: 153.8 kB / 0.7003 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.4072, allocations: 31.73 kB / 0.7003 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.4072, allocations: 26.19 kB / 0.7003 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.4073, allocations: 7.938 kB / 0.7003 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4073, allocations: 0 / 0.7003 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.4073, allocations: 3.984 kB / 0.7003 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008681/0.4081, allocations: 0.5529 MB / 0.7009 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4082, allocations: 3.938 kB / 0.7009 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.953e-05/0.4083, allocations: 15.98 kB / 0.7009 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4083, allocations: 0 / 0.7009 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.4083, allocations: 0 / 0.7009 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4083, allocations: 4 kB / 0.7009 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4083, allocations: 4 kB / 0.7009 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.4088, allocations: 302.4 kB / 0.7012 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.936e-05/0.4089, allocations: 104.9 kB / 0.7013 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.409, allocations: 4 kB / 0.7013 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.4091, allocations: 11.98 kB / 0.7013 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.4092, allocations: 23.91 kB / 0.7013 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.4092, allocations: 11.94 kB / 0.7013 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002239/0.4095, allocations: 213.9 kB / 0.7015 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.91e-07/0.4095, allocations: 0 / 0.7015 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003295/0.4098, allocations: 47.94 kB / 0.7016 GB, free: 4.961 MB / 0.5137 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.00224/0.412, allocations: 1.14 MB / 0.7027 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005035/0.4126, allocations: 183.8 kB / 0.7029 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4126, allocations: 0 / 0.7029 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.4128, allocations: 67.89 kB / 0.7029 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.4132, allocations: 62.3 kB / 0.703 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.4167, allocations: 2.576 MB / 0.7055 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.4172, allocations: 0.7519 MB / 0.7062 GB, free: 196 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.4173, allocations: 33.92 kB / 0.7063 GB, free: 160 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4174, allocations: 71.41 kB / 0.7063 GB, free: 88 kB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.4174, allocations: 0 / 0.7063 GB, free: 88 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.4451, allocations: 5.419 MB / 0.7116 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.744, allocations: 16.38 kB / 0.7117 GB, free: 10.78 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Change.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.403632218018174] Failed to read output from testmodel.py, exit status != 0: 8.874744836008176 8.903276833 8.499267258 Calling exit ...