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.001173/0.001173, 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.001403/0.001403, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.9397/0.9397, allocations: 230.6 MB / 256 MB, free: 9.586 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.7871/0.7871, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.0009132/0.0009132, allocations: 70.11 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5506/0.5515, allocations: 102 MB / 0.8178 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002705/0.5542, allocations: 1.898 MB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.5558, allocations: 1.21 MB / 0.8208 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.5559, allocations: 2.844 kB / 0.8208 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.5563, allocations: 98.81 kB / 0.8209 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003422/0.5567, allocations: 142.5 kB / 0.8211 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.5569, allocations: 130.5 kB / 0.8212 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.5572, allocations: 228.2 kB / 0.8214 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.5573, allocations: 30.64 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.5575, allocations: 101.5 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.5576, allocations: 113.1 kB / 0.8216 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.5576, allocations: 13.59 kB / 0.8217 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.5577, allocations: 55.34 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.5578, allocations: 62.33 kB / 0.8218 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.994e-05/0.5579, allocations: 80.75 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.5582, allocations: 276.7 kB / 0.8221 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5582, allocations: 0 / 0.8221 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5582, allocations: 0 / 0.8221 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.5582, allocations: 1.156 kB / 0.8221 GB, free: 14.19 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.0007025/0.5589, allocations: 492.9 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.559, allocations: 12.59 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.559, allocations: 43.84 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.5591, allocations: 24.98 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.5593, allocations: 237.4 kB / 0.8229 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.5594, allocations: 8.75 kB / 0.8229 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.5594, allocations: 11.66 kB / 0.8229 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.5596, allocations: 115.9 kB / 0.823 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5596, allocations: 0 / 0.823 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.5596, allocations: 11.03 kB / 0.823 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5596, allocations: 1.312 kB / 0.823 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.5598, allocations: 90.66 kB / 0.8231 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000591/0.5604, allocations: 401.8 kB / 0.8235 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.5606, allocations: 129.8 kB / 0.8236 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.5607, allocations: 52.17 kB / 0.8237 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.5608, allocations: 6.062 kB / 0.8237 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.561, allocations: 128 kB / 0.8238 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.561, allocations: 0 / 0.8238 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0004442/0.5614, allocations: 258.3 kB / 0.824 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.5615, allocations: 58.95 kB / 0.8241 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.5618, allocations: 338.2 kB / 0.8244 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.5618, allocations: 37.62 kB / 0.8245 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.5619, allocations: 138.8 kB / 0.8246 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.5619, allocations: 46.34 kB / 0.8246 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.562, allocations: 58.58 kB / 0.8247 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5621, allocations: 338.6 kB / 0.825 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.5622, allocations: 80.89 kB / 0.8251 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.5624, allocations: 141 kB / 0.8252 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.5626, allocations: 193.6 kB / 0.8254 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5626, allocations: 3.469 kB / 0.8254 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003457/0.563, allocations: 279.6 kB / 0.8257 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.563, allocations: 7.172 kB / 0.8257 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.563, allocations: 4.156 kB / 0.8257 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.563, allocations: 5.172 kB / 0.8257 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.5631, allocations: 40.67 kB / 0.8257 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.5631, allocations: 3.516 kB / 0.8257 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.5632, allocations: 26.91 kB / 0.8258 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.5632, allocations: 8.266 kB / 0.8258 GB, free: 11.75 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.0001156/0.5634, allocations: 164 kB / 0.8259 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.5634, allocations: 29 kB / 0.826 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.5637, allocations: 216.6 kB / 0.8262 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5637, allocations: 1.812 kB / 0.8262 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5637, allocations: 0.5625 kB / 0.8262 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.5637, allocations: 1.547 kB / 0.8262 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005506/0.5643, allocations: 0.5229 MB / 0.8267 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5643, allocations: 0.7031 kB / 0.8267 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.5643, allocations: 23.05 kB / 0.8267 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5643, allocations: 1.344 kB / 0.8267 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.5643, allocations: 6.766 kB / 0.8267 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5643, allocations: 1.469 kB / 0.8267 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5643, allocations: 0.7031 kB / 0.8267 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.5646, allocations: 311.2 kB / 0.827 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.5646, allocations: 23.66 kB / 0.827 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.5647, allocations: 6.125 kB / 0.827 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.5647, allocations: 22.72 kB / 0.8271 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.5648, allocations: 20.09 kB / 0.8271 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.5648, allocations: 10.08 kB / 0.8271 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001636/0.565, allocations: 213.9 kB / 0.8273 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.565, allocations: 0 / 0.8273 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002265/0.5652, allocations: 55.72 kB / 0.8273 GB, free: 10.76 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.001125/0.5663, allocations: 1.188 MB / 0.8285 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.5666, allocations: 178.4 kB / 0.8287 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5666, allocations: 0 / 0.8287 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.5667, allocations: 73.5 kB / 0.8287 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.567, allocations: 54.11 kB / 0.8288 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.5699, allocations: 2.635 MB / 0.8314 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.57, allocations: 147.3 kB / 0.8315 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.048e-05/0.5701, allocations: 34.73 kB / 0.8315 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.925e-05/0.5702, allocations: 75.92 kB / 0.8316 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.5702, allocations: 0 / 0.8316 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.5923, allocations: 6.368 MB / 0.8378 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/7.518, allocations: 11.34 kB / 0.8378 GB, free: 5.945 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 & 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: 10.546225843019783] Failed to read output from testmodel.py, exit status != 0: 7.615753475110978 7.6286437959999995 7.067530177 Calling exit ...