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.001008/0.001008, allocations: 72.45 kB / 19.91 MB, free: 12 kB / 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.0008702/0.0008702, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8212/0.8212, allocations: 177.2 MB / 203.6 MB, free: 5.348 MB / 186.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.6937/0.6937, allocations: 154.7 MB / 414.7 MB, free: 0.6602 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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: translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") [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.0008526/0.0008526, allocations: 63.91 kB / 0.6195 GB, free: 13.08 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3798, allocations: 101.9 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002173/0.382, allocations: 1.901 MB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3831, allocations: 1.21 MB / 0.7221 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.3832, allocations: 6.156 kB / 0.7221 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.3835, allocations: 94.7 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.3838, allocations: 143.2 kB / 0.7224 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.384, allocations: 130.3 kB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.3842, allocations: 229.2 kB / 0.7227 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3843, allocations: 35.64 kB / 0.7228 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.3845, allocations: 141.7 kB / 0.7229 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3846, allocations: 105.1 kB / 0.723 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.3846, allocations: 13.22 kB / 0.723 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.3847, allocations: 55 kB / 0.7231 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.639e-05/0.3848, allocations: 71.56 kB / 0.7231 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.583e-05/0.3848, allocations: 68.36 kB / 0.7232 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.3851, allocations: 308.8 kB / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3851, allocations: 0.5625 kB / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3851, allocations: 0 / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3851, allocations: 0 / 0.7235 GB, free: 20.93 MB / 0.6355 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.0005693/0.3857, allocations: 494.3 kB / 0.724 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3857, allocations: 13.36 kB / 0.724 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.3858, allocations: 25.23 kB / 0.724 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.386, allocations: 229.9 kB / 0.7242 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.386, allocations: 9.859 kB / 0.7242 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.386, allocations: 10.81 kB / 0.7242 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.3862, allocations: 117.2 kB / 0.7243 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3862, allocations: 1.062 kB / 0.7243 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3863, allocations: 5.906 kB / 0.7243 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.3863, allocations: 2.219 kB / 0.7243 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.3864, allocations: 92.23 kB / 0.7244 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.3868, allocations: 374.1 kB / 0.7248 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.387, allocations: 129.3 kB / 0.7249 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.3871, allocations: 56.38 kB / 0.725 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3871, allocations: 5.094 kB / 0.725 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.3873, allocations: 132.6 kB / 0.7251 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.3873, allocations: 1.344 kB / 0.7251 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0003979/0.3877, allocations: 251 kB / 0.7253 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.3877, allocations: 63.33 kB / 0.7254 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.388, allocations: 342.8 kB / 0.7257 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.388, allocations: 33.7 kB / 0.7258 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.388, allocations: 142.8 kB / 0.7259 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.3881, allocations: 41.27 kB / 0.7259 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.3881, allocations: 60.02 kB / 0.726 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.817e-05/0.3882, allocations: 333.8 kB / 0.7263 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.3883, allocations: 84.7 kB / 0.7264 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.3884, allocations: 132.3 kB / 0.7265 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.3886, allocations: 191.1 kB / 0.7267 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3886, allocations: 1.5 kB / 0.7267 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003122/0.389, allocations: 288.2 kB / 0.727 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.389, allocations: 4.719 kB / 0.727 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.389, allocations: 2.5 kB / 0.727 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.389, allocations: 2.969 kB / 0.727 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3891, allocations: 45.58 kB / 0.727 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3891, allocations: 7.422 kB / 0.727 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.602e-05/0.3892, allocations: 27.09 kB / 0.7271 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3892, allocations: 8.031 kB / 0.7271 GB, free: 18.58 MB / 0.6355 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 8.281e-05/0.3893, allocations: 169.7 kB / 0.7272 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.3893, allocations: 31.31 kB / 0.7273 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.3896, allocations: 210.5 kB / 0.7275 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3896, allocations: 1.969 kB / 0.7275 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3896, allocations: 1.25 kB / 0.7275 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3896, allocations: 0.7969 kB / 0.7275 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.39, allocations: 0.4928 MB / 0.7279 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.39, allocations: 0 / 0.7279 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.3901, allocations: 20.11 kB / 0.728 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3901, allocations: 1.188 kB / 0.728 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3901, allocations: 7.328 kB / 0.728 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3901, allocations: 0 / 0.728 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3901, allocations: 1.062 kB / 0.728 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.3903, allocations: 308 kB / 0.7283 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.3904, allocations: 35.09 kB / 0.7283 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3904, allocations: 6.75 kB / 0.7283 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.3905, allocations: 13.23 kB / 0.7283 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.3905, allocations: 16.41 kB / 0.7283 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.3905, allocations: 6.109 kB / 0.7283 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001277/0.3906, allocations: 214.5 kB / 0.7285 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3906, allocations: 0 / 0.7285 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002102/0.3909, allocations: 55.14 kB / 0.7286 GB, free: 17.64 MB / 0.6355 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.0006253/0.3915, allocations: 449.5 kB / 0.729 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.3918, allocations: 187.5 kB / 0.7292 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3918, allocations: 1.031 kB / 0.7292 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.3919, allocations: 75.83 kB / 0.7293 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.3921, allocations: 55.95 kB / 0.7293 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.3926, allocations: 446 kB / 0.7298 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.815e-05/0.3927, allocations: 140.3 kB / 0.7299 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.3928, allocations: 30.12 kB / 0.7299 GB, free: 17 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.3928, allocations: 0 / 0.7299 GB, free: 17 MB / 0.6355 GB Notification: Performance of Templates: time 0.004306/0.3971, allocations: 3.473 MB / 0.7333 GB, free: 16.6 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.740955720888451] Failed to read output from testmodel.py, exit status != 0: 0.40153971989639103 0.409828837 0.023108624 Calling exit ...