Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.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.001157/0.001157, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001488/0.001488, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.094/1.094, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.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-535:34: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-535:42: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.8708/0.8708, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 480.5 MB, free: 6.422 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.465e-05, allocations: 4.703 kB / 480.5 MB, free: 6.418 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001432/0.001457, allocations: 0.7123 MB / 481.2 MB, free: 5.742 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007758/0.002233, allocations: 0.835 MB / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.002262, allocations: 0 / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.002285, allocations: 0 / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.00235, allocations: 5.688 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.203e-05/0.002402, allocations: 12.86 kB / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.00246, allocations: 24.58 kB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.207e-05/0.002543, allocations: 8.766 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.953e-05/0.002622, allocations: 13.3 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.799e-05/0.00266, allocations: 13.31 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.002677, allocations: 1.203 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.071e-06/0.002683, allocations: 4.938 kB / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.002698, allocations: 0 / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.576e-05/0.002713, allocations: 4.984 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.731e-05/0.002781, allocations: 14.05 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.002783, allocations: 1.312 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.002784, allocations: 4 kB / 482.1 MB, free: 4.809 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.002787, allocations: 0.9844 kB / 482.1 MB, free: 4.809 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002548/0.003042, allocations: 245.7 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.003075, allocations: 8.031 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.179e-05/0.003097, allocations: 6.156 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.115e-05/0.003168, allocations: 101.8 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.003177, allocations: 5.359 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-06/0.003182, allocations: 1.219 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.794e-05/0.00327, allocations: 62.88 kB / 482.5 MB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/0.003276, allocations: 1.344 kB / 482.5 MB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.003282, allocations: 1.25 kB / 482.5 MB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.003286, allocations: 384 / 482.5 MB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.003311, allocations: 13.84 kB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.003487, allocations: 146.2 kB / 482.7 MB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.585e-05/0.003523, allocations: 22.52 kB / 482.7 MB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.00354, allocations: 12.92 kB / 482.7 MB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-06/0.003545, allocations: 0 / 482.7 MB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.003566, allocations: 35.91 kB / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 6.62e-07/0.003567, allocations: 0.7656 kB / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.887e-05/0.003666, allocations: 37.69 kB / 482.8 MB, free: 4.035 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.003692, allocations: 56.69 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.568e-05/0.003738, allocations: 98.72 kB / 483 MB, free: 3.859 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.003748, allocations: 25.7 kB / 483 MB, free: 3.828 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.003773, allocations: 92.69 kB / 483.1 MB, free: 3.734 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.00379, allocations: 11.88 kB / 483.1 MB, free: 3.723 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.003813, allocations: 19.3 kB / 483.1 MB, free: 3.699 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.74e-05/0.003881, allocations: 310.8 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-06/0.003889, allocations: 0 / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.003896, allocations: 4.531 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.359e-05/0.00392, allocations: 17.92 kB / 483.4 MB, free: 3.363 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.003921, allocations: 0.5469 kB / 483.4 MB, free: 3.363 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.133e-05/0.003963, allocations: 34.33 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.003973, allocations: 4.625 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.003977, allocations: 0 / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.003985, allocations: 0.625 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.004045, allocations: 21.03 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.004047, allocations: 0 / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.425e-05/0.004062, allocations: 0.625 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.004066, allocations: 1.234 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.583e-05/0.004112, allocations: 110.4 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.004125, allocations: 1.203 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.004146, allocations: 19.34 kB / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.004148, allocations: 0 / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.00415, allocations: 5.719 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004153, allocations: 0.6562 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.567e-05/0.004228, allocations: 61.91 kB / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.004229, allocations: 0 / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.004249, allocations: 7.984 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.004251, allocations: 4.844 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.004255, allocations: 0 / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.004256, allocations: 1 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.004257, allocations: 1.016 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.151e-05/0.004328, allocations: 137 kB / 483.8 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-06/0.004335, allocations: 7.953 kB / 483.8 MB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.004344, allocations: 4.984 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.892e-05/0.004373, allocations: 0 / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.0044, allocations: 9.719 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.004402, allocations: 3.984 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.172e-05/0.004414, allocations: 17.88 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004414, allocations: 0 / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001167/0.004531, allocations: 4 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 7.374e-05/0.004604, allocations: 73.86 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.899e-05/0.004653, allocations: 14.05 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.004656, allocations: 0 / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.528e-05/0.004671, allocations: 16.78 kB / 484 MB, free: 2.762 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.004803, allocations: 5.906 kB / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.005006, allocations: 105.4 kB / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.957e-05/0.005035, allocations: 56.95 kB / 484.2 MB, free: 2.555 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.446e-05/0.00505, allocations: 0.875 kB / 484.2 MB, free: 2.555 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.005088, allocations: 51.38 kB / 484.2 MB, free: 2.504 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.005089, allocations: 0 / 484.2 MB, free: 2.504 MB / 442.7 MB Notification: Performance of Templates: time 0.00183/0.006919, allocations: 459.9 kB / 484.7 MB, free: 2.074 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7641790970228612]