Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007981/0.0007981, 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.001425/0.001425, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9848/0.9848, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7947/0.7947, allocations: 203.5 MB / 0.5039 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IDEAS_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.00144/0.00144, allocations: 66.27 kB / 0.7178 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5615/0.563, allocations: 102 MB / 0.8174 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002681/0.5656, allocations: 1.888 MB / 0.8192 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.5673, allocations: 1.213 MB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.5674, allocations: 12.12 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.5678, allocations: 91.77 kB / 0.8205 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.5682, allocations: 147.6 kB / 0.8207 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.5684, allocations: 130.2 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.5687, allocations: 225.4 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.5689, allocations: 34.59 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.569, allocations: 106 kB / 0.8211 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.5691, allocations: 100.1 kB / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.5692, allocations: 14.41 kB / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.5693, allocations: 59.98 kB / 0.8213 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.5694, allocations: 67.33 kB / 0.8214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.448e-05/0.5695, allocations: 67.36 kB / 0.8214 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.5698, allocations: 287.2 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5698, allocations: 1.438 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5698, allocations: 0 / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.5699, allocations: 0 / 0.8217 GB, free: 14.55 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.000733/0.5706, allocations: 492 kB / 0.8222 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5706, allocations: 8.969 kB / 0.8222 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.5707, allocations: 41.53 kB / 0.8222 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.5707, allocations: 24.42 kB / 0.8222 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.571, allocations: 247.7 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.5711, allocations: 3.594 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.5711, allocations: 12.16 kB / 0.8225 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.5713, allocations: 113.9 kB / 0.8226 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.5713, allocations: 0.6562 kB / 0.8226 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.5713, allocations: 9.406 kB / 0.8226 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5713, allocations: 3 kB / 0.8226 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.5715, allocations: 87.08 kB / 0.8227 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.5721, allocations: 401.5 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.5723, allocations: 133 kB / 0.8232 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.5724, allocations: 52.33 kB / 0.8233 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.5724, allocations: 1.859 kB / 0.8233 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.5727, allocations: 128.9 kB / 0.8234 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.535e-06/0.5727, allocations: 0 / 0.8234 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0005561/0.5733, allocations: 259.2 kB / 0.8236 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.5733, allocations: 58.86 kB / 0.8237 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.5737, allocations: 339.1 kB / 0.824 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.5737, allocations: 32.05 kB / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.93e-05/0.5738, allocations: 135.1 kB / 0.8242 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.5739, allocations: 50.48 kB / 0.8242 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/0.5739, allocations: 62.72 kB / 0.8243 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5741, allocations: 338.2 kB / 0.8246 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.5742, allocations: 85.47 kB / 0.8247 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.5744, allocations: 131.2 kB / 0.8248 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.5747, allocations: 199.2 kB / 0.825 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5747, allocations: 1.219 kB / 0.825 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003953/0.5751, allocations: 279.9 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5751, allocations: 6.359 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.5751, allocations: 6.75 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.5751, allocations: 1.875 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.5753, allocations: 46.12 kB / 0.8253 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5753, allocations: 3.281 kB / 0.8253 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.459e-05/0.5754, allocations: 27.02 kB / 0.8254 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.5754, allocations: 10.23 kB / 0.8254 GB, free: 12.12 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.0001286/0.5755, allocations: 158.4 kB / 0.8255 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.5756, allocations: 35.53 kB / 0.8255 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.5759, allocations: 211.6 kB / 0.8257 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5759, allocations: 1.734 kB / 0.8258 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5759, allocations: 5.125 kB / 0.8258 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5759, allocations: 1.219 kB / 0.8258 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.5766, allocations: 0.5226 MB / 0.8263 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5766, allocations: 3.75 kB / 0.8263 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.5766, allocations: 21.64 kB / 0.8263 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.5766, allocations: 0.6562 kB / 0.8263 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.5767, allocations: 6.062 kB / 0.8263 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5767, allocations: 1.469 kB / 0.8263 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5767, allocations: 0 / 0.8263 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.577, allocations: 304.4 kB / 0.8266 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.577, allocations: 28.81 kB / 0.8266 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.577, allocations: 1.078 kB / 0.8266 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.5771, allocations: 22.5 kB / 0.8266 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.5772, allocations: 16.06 kB / 0.8267 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.5772, allocations: 6.922 kB / 0.8267 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001874/0.5774, allocations: 221.5 kB / 0.8269 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5774, allocations: 0 / 0.8269 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002775/0.5777, allocations: 55.06 kB / 0.8269 GB, free: 11.14 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 (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.001421/0.5791, allocations: 1.185 MB / 0.8281 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003467/0.5794, allocations: 180.8 kB / 0.8283 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5794, allocations: 0 / 0.8283 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.5795, allocations: 68.62 kB / 0.8283 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.5799, allocations: 63.06 kB / 0.8284 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.5831, allocations: 2.64 MB / 0.831 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.5832, allocations: 151.6 kB / 0.8311 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.5833, allocations: 35.52 kB / 0.8311 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.5835, allocations: 78.97 kB / 0.8312 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of SimCode: time 1.182e-06/0.5835, allocations: 0 / 0.8312 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.6112, allocations: 6.349 MB / 0.8374 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/7.553, allocations: 6.031 kB / 0.8374 GB, free: 6.379 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Integers_Validation_Change.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.647959822788835] Failed to read output from testmodel.py, exit status != 0: 7.652007959783077 7.661996898 7.089949685 Calling exit ...