Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008316/0.0008316, allocations: 76.45 kB / 19.9 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.0008139/0.0008139, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9001/0.9001, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.72/0.72, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.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.0009015/0.0009015, allocations: 71.75 kB / 0.6196 GB, free: 13.07 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.5217/0.5226, allocations: 102 MB / 0.7192 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001448/0.5241, allocations: 0.6511 MB / 0.7198 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006706/0.5247, allocations: 0.8144 MB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.502e-05/0.5248, allocations: 0 / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.5248, allocations: 3.938 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.5249, allocations: 5.812 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.704e-05/0.5249, allocations: 8.641 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.525, allocations: 23.64 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.5251, allocations: 7.797 kB / 0.7207 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.549e-05/0.5251, allocations: 16.02 kB / 0.7207 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.383e-05/0.5252, allocations: 12.72 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.5252, allocations: 2.125 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-06/0.5252, allocations: 6.125 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.5252, allocations: 6.297 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.5252, allocations: 6.656 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.518e-05/0.5253, allocations: 21.53 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5253, allocations: 2.078 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5253, allocations: 0 / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5253, allocations: 0 / 0.7207 GB, free: 22.55 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002928/0.5256, allocations: 264.5 kB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.5256, allocations: 12.84 kB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.5257, allocations: 6.141 kB / 0.721 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.865e-05/0.5257, allocations: 110.5 kB / 0.7211 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.5258, allocations: 5.641 kB / 0.7211 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.5258, allocations: 1.594 kB / 0.7211 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.5259, allocations: 56.94 kB / 0.7212 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.5259, allocations: 192 / 0.7212 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.5259, allocations: 8.938 kB / 0.7212 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5259, allocations: 0.6562 kB / 0.7212 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.089e-05/0.526, allocations: 36.47 kB / 0.7212 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.5262, allocations: 192.3 kB / 0.7214 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/0.5263, allocations: 35.91 kB / 0.7214 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.5264, allocations: 29.94 kB / 0.7215 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.5264, allocations: 4.688 kB / 0.7215 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.5264, allocations: 32.75 kB / 0.7215 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5264, allocations: 4 kB / 0.7215 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000233/0.5266, allocations: 83.97 kB / 0.7216 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.5267, allocations: 52.56 kB / 0.7216 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.045e-05/0.5267, allocations: 102.9 kB / 0.7217 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-06/0.5267, allocations: 25.7 kB / 0.7217 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.27e-05/0.5267, allocations: 86.81 kB / 0.7218 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.5267, allocations: 4.797 kB / 0.7218 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.5268, allocations: 17.66 kB / 0.7218 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.008e-05/0.5268, allocations: 316.8 kB / 0.7222 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.622e-05/0.5268, allocations: 18.39 kB / 0.7222 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.07e-05/0.5269, allocations: 18.61 kB / 0.7222 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.358e-05/0.527, allocations: 36.95 kB / 0.7222 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.527, allocations: 0.5156 kB / 0.7222 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001069/0.5271, allocations: 71.16 kB / 0.7223 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.5271, allocations: 6 kB / 0.7223 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5271, allocations: 3.984 kB / 0.7223 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5271, allocations: 0.5156 kB / 0.7223 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.5272, allocations: 12.89 kB / 0.7223 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.5272, allocations: 1.219 kB / 0.7223 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.5272, allocations: 10.08 kB / 0.7223 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.5272, allocations: 5.188 kB / 0.7223 GB, free: 21.05 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: 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 3.752e-05/0.5273, allocations: 113.8 kB / 0.7224 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.5273, allocations: 5.031 kB / 0.7224 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.5273, allocations: 13.03 kB / 0.7225 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5273, allocations: 0.8906 kB / 0.7225 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5273, allocations: 5.094 kB / 0.7225 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.5273, allocations: 0 / 0.7225 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.948e-05/0.5274, allocations: 104.8 kB / 0.7226 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5274, allocations: 0.7031 kB / 0.7226 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.5274, allocations: 8.453 kB / 0.7226 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5274, allocations: 5.094 kB / 0.7226 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.5274, allocations: 4 kB / 0.7226 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.5274, allocations: 0.7031 kB / 0.7226 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5274, allocations: 1.125 kB / 0.7226 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.5275, allocations: 164.3 kB / 0.7227 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.5275, allocations: 5.922 kB / 0.7227 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-06/0.5275, allocations: 0 / 0.7227 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.58e-05/0.5276, allocations: 15.17 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.5276, allocations: 1.125 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.5276, allocations: 5.531 kB / 0.7228 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.655e-05/0.5276, allocations: 81.62 kB / 0.7228 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5276, allocations: 0 / 0.7228 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001332/0.5278, allocations: 4.438 kB / 0.7228 GB, free: 20.56 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: 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 6.782e-05/0.5278, allocations: 96.95 kB / 0.7229 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.5279, allocations: 35.55 kB / 0.723 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.528, allocations: 0 / 0.723 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.528, allocations: 20.36 kB / 0.723 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.5282, allocations: 6.234 kB / 0.723 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.5284, allocations: 116.7 kB / 0.7231 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.535e-05/0.5284, allocations: 61.03 kB / 0.7232 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2e-05/0.5285, allocations: 0.7031 kB / 0.7232 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.5285, allocations: 9.938 kB / 0.7232 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of SimCode: time 3.51e-07/0.5285, allocations: 0 / 0.7232 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.002079/0.5306, allocations: 478.4 kB / 0.7236 GB, free: 20.18 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.2304675749037415] Failed to read output from testmodel.py, exit status != 0: 0.536220312002115 0.5447481009999999 0.017650452 Calling exit ...