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.001246/0.001246, allocations: 113.9 kB / 18.94 MB, free: 1.27 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.0009583/0.0009583, allocations: 217.2 kB / 22.26 MB, free: 3.699 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.9636/0.9636, allocations: 230.6 MB / 256 MB, free: 9.805 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.8017/0.8017, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.001019/0.001019, allocations: 69.77 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.53/0.531, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002977/0.534, allocations: 1.96 MB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.5357, allocations: 1.299 MB / 0.8211 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.5358, allocations: 7.219 kB / 0.8211 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004691/0.5363, allocations: 90.05 kB / 0.8211 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.5367, allocations: 144.6 kB / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.5371, allocations: 128.1 kB / 0.8214 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.5375, allocations: 228.9 kB / 0.8216 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.5377, allocations: 36.91 kB / 0.8217 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.5379, allocations: 114.1 kB / 0.8218 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.5381, allocations: 107.6 kB / 0.8219 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.5381, allocations: 13.62 kB / 0.8219 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.5383, allocations: 54.02 kB / 0.8219 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.5384, allocations: 75.5 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.799e-05/0.5384, allocations: 88.38 kB / 0.8221 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.5388, allocations: 281 kB / 0.8224 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5388, allocations: 1.312 kB / 0.8224 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5388, allocations: 0 / 0.8224 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.5388, allocations: 0 / 0.8224 GB, free: 14.38 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.0008465/0.5397, allocations: 492 kB / 0.8228 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.5397, allocations: 8.844 kB / 0.8228 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.5398, allocations: 45.66 kB / 0.8229 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.5399, allocations: 28.77 kB / 0.8229 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.5402, allocations: 229.9 kB / 0.8231 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.5402, allocations: 12.64 kB / 0.8231 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.5403, allocations: 12.89 kB / 0.8232 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.5405, allocations: 114.2 kB / 0.8233 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5405, allocations: 8.109 kB / 0.8233 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.5405, allocations: 5.312 kB / 0.8233 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.5405, allocations: 1.344 kB / 0.8233 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.5407, allocations: 86.38 kB / 0.8234 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.5414, allocations: 424.4 kB / 0.8238 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.5416, allocations: 128.2 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.5417, allocations: 54.06 kB / 0.8239 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.5417, allocations: 7.078 kB / 0.8239 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/0.542, allocations: 123 kB / 0.8241 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.885e-06/0.542, allocations: 4 kB / 0.8241 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0004658/0.5424, allocations: 247.9 kB / 0.8243 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.5425, allocations: 56.02 kB / 0.8244 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.5428, allocations: 336.3 kB / 0.8247 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.5428, allocations: 36.33 kB / 0.8247 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.738e-05/0.5429, allocations: 147.2 kB / 0.8249 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.543, allocations: 42.19 kB / 0.8249 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/0.5431, allocations: 59.56 kB / 0.8249 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5432, allocations: 337.7 kB / 0.8253 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.5433, allocations: 84.28 kB / 0.8254 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.5435, allocations: 133.6 kB / 0.8255 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.5438, allocations: 186.3 kB / 0.8257 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5438, allocations: 5.094 kB / 0.8257 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004476/0.5443, allocations: 280.3 kB / 0.8259 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.5443, allocations: 4.906 kB / 0.8259 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.5443, allocations: 3.406 kB / 0.8259 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.5443, allocations: 2.562 kB / 0.8259 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.5445, allocations: 45.02 kB / 0.826 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.5445, allocations: 7.422 kB / 0.826 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/0.5446, allocations: 23 kB / 0.826 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.5446, allocations: 8.297 kB / 0.826 GB, free: 11.95 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.0001537/0.5448, allocations: 167.5 kB / 0.8262 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.5448, allocations: 34.58 kB / 0.8262 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.5452, allocations: 212.9 kB / 0.8264 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.5452, allocations: 3.453 kB / 0.8264 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5452, allocations: 0 / 0.8264 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5452, allocations: 1.125 kB / 0.8264 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.5458, allocations: 0.5187 MB / 0.8269 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5458, allocations: 1.469 kB / 0.8269 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.5459, allocations: 17.06 kB / 0.8269 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5459, allocations: 5.5 kB / 0.8269 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.5459, allocations: 10.81 kB / 0.827 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5459, allocations: 1.828 kB / 0.827 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5459, allocations: 0 / 0.827 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.5462, allocations: 295.5 kB / 0.8272 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.5462, allocations: 29.77 kB / 0.8273 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.5463, allocations: 7.562 kB / 0.8273 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.5463, allocations: 16.22 kB / 0.8273 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.5464, allocations: 18.23 kB / 0.8273 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.5464, allocations: 12.31 kB / 0.8273 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002068/0.5466, allocations: 209.1 kB / 0.8275 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5466, allocations: 0 / 0.8275 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002641/0.5469, allocations: 54.81 kB / 0.8276 GB, free: 10.96 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 (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.001393/0.5483, allocations: 1.14 MB / 0.8287 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.5486, allocations: 179.2 kB / 0.8289 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5487, allocations: 0 / 0.8289 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.5488, allocations: 66 kB / 0.8289 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.5491, allocations: 60.06 kB / 0.829 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.5524, allocations: 2.62 MB / 0.8315 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.5527, allocations: 0.7517 MB / 0.8323 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.5528, allocations: 33.75 kB / 0.8323 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5529, allocations: 75.84 kB / 0.8324 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.5529, allocations: 0 / 0.8324 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.582, allocations: 5.748 MB / 0.838 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/7.528, allocations: 6.766 kB / 0.838 GB, free: 6.121 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.636034497991204] Failed to read output from testmodel.py, exit status != 0: 7.626232343027368 7.637718906 7.096544002 Calling exit ...