Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.0007253/0.0007253, allocations: 76.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.0008949/0.0008949, 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.8191/0.8191, allocations: 177.2 MB / 203.6 MB, free: 5.766 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-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.6844/0.6844, allocations: 155 MB / 415 MB, free: 0.4922 MB / 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.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter") [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.0009347/0.0009347, allocations: 63.91 kB / 0.6199 GB, free: 12.75 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3828, allocations: 102 MB / 0.7195 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001342/0.3841, allocations: 0.678 MB / 0.7201 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000747/0.3849, allocations: 0.8622 MB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.3849, allocations: 5.031 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.3849, allocations: 4.781 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.385, allocations: 5 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.3852, allocations: 29.61 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.712e-05/0.3852, allocations: 44.7 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3853, allocations: 7 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.77e-05/0.3854, allocations: 29.95 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.3855, allocations: 24.7 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.3855, allocations: 4.125 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.3855, allocations: 4.344 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.3855, allocations: 11.61 kB / 0.7212 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.3855, allocations: 21.5 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.3856, allocations: 54.02 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3857, allocations: 1.094 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3857, allocations: 0 / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3857, allocations: 0 / 0.7212 GB, free: 22.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003637/0.386, allocations: 288.1 kB / 0.7215 GB, free: 22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3861, allocations: 10.66 kB / 0.7215 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.3861, allocations: 4.297 kB / 0.7215 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.173e-05/0.3862, allocations: 118.7 kB / 0.7216 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3862, allocations: 6.906 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.3862, allocations: 6.5 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3863, allocations: 68.81 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3864, allocations: 0 / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3864, allocations: 3.938 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3864, allocations: 5.25 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.3865, allocations: 48.16 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.3868, allocations: 233.7 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3869, allocations: 69.16 kB / 0.7221 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.453e-05/0.387, allocations: 34.94 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.387, allocations: 0.5156 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.387, allocations: 32.88 kB / 0.7221 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.387, allocations: 1.469 kB / 0.7221 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002712/0.3873, allocations: 108.2 kB / 0.7222 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.3873, allocations: 57.06 kB / 0.7223 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.414e-05/0.3874, allocations: 107.9 kB / 0.7224 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.201e-06/0.3874, allocations: 25.7 kB / 0.7224 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.3874, allocations: 91.7 kB / 0.7225 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.3874, allocations: 9.625 kB / 0.7225 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.3874, allocations: 20.17 kB / 0.7225 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.037e-05/0.3875, allocations: 319 kB / 0.7228 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.3875, allocations: 26.25 kB / 0.7228 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.332e-05/0.3876, allocations: 22.78 kB / 0.7229 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3877, allocations: 58.91 kB / 0.7229 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3877, allocations: 0 / 0.7229 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000158/0.3879, allocations: 88.27 kB / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3879, allocations: 5.688 kB / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3879, allocations: 0 / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3879, allocations: 1.094 kB / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.388, allocations: 12.92 kB / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.388, allocations: 4.75 kB / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.3881, allocations: 8.156 kB / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-06/0.3881, allocations: 0 / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.843e-05/0.3881, allocations: 118.7 kB / 0.7232 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.3881, allocations: 2.812 kB / 0.7232 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.794e-05/0.3881, allocations: 9.719 kB / 0.7232 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3881, allocations: 0 / 0.7232 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3882, allocations: 9.703 kB / 0.7232 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3882, allocations: 3.938 kB / 0.7232 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.26e-05/0.3882, allocations: 118.9 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3882, allocations: 1.156 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.3883, allocations: 12.69 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3883, allocations: 1.156 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.3883, allocations: 1.734 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3883, allocations: 0 / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3883, allocations: 0 / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.3885, allocations: 190.5 kB / 0.7235 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.3885, allocations: 1.938 kB / 0.7235 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.3885, allocations: 5.344 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.679e-05/0.3885, allocations: 5.766 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.3886, allocations: 20.66 kB / 0.7235 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3886, allocations: 1.875 kB / 0.7235 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.31e-05/0.3886, allocations: 90.92 kB / 0.7236 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3886, allocations: 1.031 kB / 0.7236 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001482/0.3888, allocations: 10.48 kB / 0.7236 GB, free: 20.18 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.704e-05/0.3888, allocations: 93.56 kB / 0.7237 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.389, allocations: 57.36 kB / 0.7238 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.389, allocations: 4 kB / 0.7238 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.3891, allocations: 27.73 kB / 0.7238 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.3893, allocations: 8.281 kB / 0.7238 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.3896, allocations: 159 kB / 0.724 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.3896, allocations: 69.84 kB / 0.724 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.3897, allocations: 16.81 kB / 0.724 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/0.3897, allocations: 0 / 0.724 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of Templates: time 0.001857/0.3915, allocations: 0.8322 MB / 0.7248 GB, free: 19.78 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.202652395935729] Failed to read output from testmodel.py, exit status != 0: 0.3976354720070958 0.41044802100000005 0.023044352 Calling exit ...