Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.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: 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.001123/0.001123, 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.064/1.064, allocations: 177.1 MB / 203.8 MB, free: 5.477 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-545:108: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-545:116: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.8055/0.8055, allocations: 154.6 MB / 414.8 MB, free: 500 kB / 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.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 480.1 MB, free: 6.785 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.451e-05, allocations: 2.312 kB / 480.1 MB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001381/0.001406, allocations: 0.7113 MB / 480.8 MB, free: 6.105 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008096/0.002216, allocations: 0.8655 MB / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.002244, allocations: 0 / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.002269, allocations: 4.938 kB / 481.7 MB, free: 5.227 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.297e-05/0.002332, allocations: 2.297 kB / 481.7 MB, free: 5.227 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.002466, allocations: 15.88 kB / 481.7 MB, free: 5.211 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.002531, allocations: 25.31 kB / 481.7 MB, free: 5.191 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.598e-05/0.002607, allocations: 17.69 kB / 481.8 MB, free: 5.176 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.663e-05/0.002693, allocations: 8.875 kB / 481.8 MB, free: 5.168 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.202e-05/0.002725, allocations: 9.406 kB / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.002738, allocations: 0 / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.002794, allocations: 8 kB / 481.8 MB, free: 5.152 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.002809, allocations: 5.781 kB / 481.8 MB, free: 5.148 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.002826, allocations: 5.188 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.976e-05/0.002916, allocations: 25.8 kB / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.002918, allocations: 0 / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.00292, allocations: 0 / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.002923, allocations: 0.625 kB / 481.8 MB, free: 5.121 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.0002532/0.003176, allocations: 229.6 kB / 482 MB, free: 4.875 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.003208, allocations: 12.03 kB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.861e-05/0.003296, allocations: 9.266 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.095e-05/0.003377, allocations: 114.3 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.003386, allocations: 0.9219 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.003393, allocations: 9.594 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.107e-05/0.003484, allocations: 52.55 kB / 482.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.003491, allocations: 192 / 482.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.003497, allocations: 5.438 kB / 482.2 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.003502, allocations: 1.141 kB / 482.2 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.003521, allocations: 7.922 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.003705, allocations: 145.3 kB / 482.4 MB, free: 4.484 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.832e-05/0.003744, allocations: 26.55 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.092e-05/0.003755, allocations: 6.297 kB / 482.4 MB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.003765, allocations: 0 / 482.4 MB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.003784, allocations: 34.62 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.003785, allocations: 1.766 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.812e-05/0.003883, allocations: 35.14 kB / 482.5 MB, free: 4.359 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.00391, allocations: 59.33 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.162e-05/0.003962, allocations: 114.6 kB / 482.7 MB, free: 4.168 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.00397, allocations: 25.7 kB / 482.7 MB, free: 4.137 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.783e-05/0.003998, allocations: 84.98 kB / 482.8 MB, free: 4.051 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.004013, allocations: 7.891 kB / 482.8 MB, free: 4.043 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.004035, allocations: 13.7 kB / 482.8 MB, free: 4.023 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.008e-05/0.004105, allocations: 319.6 kB / 483.1 MB, free: 3.703 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-06/0.004114, allocations: 0.7656 kB / 483.1 MB, free: 3.703 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.004122, allocations: 4.875 kB / 483.1 MB, free: 3.699 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.004142, allocations: 9.922 kB / 483.1 MB, free: 3.688 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.004144, allocations: 0 / 483.1 MB, free: 3.688 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.571e-05/0.004189, allocations: 38.31 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.0042, allocations: 4 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.004204, allocations: 0.625 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.004217, allocations: 5.328 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/0.004275, allocations: 11.92 kB / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.004278, allocations: 0.625 kB / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.004292, allocations: 8.625 kB / 483.2 MB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.004296, allocations: 0 / 483.2 MB, free: 3.617 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.691e-05/0.004343, allocations: 110.5 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.004356, allocations: 0.7188 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.437e-05/0.00442, allocations: 38.8 kB / 483.3 MB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.004422, allocations: 4 kB / 483.3 MB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.004424, allocations: 4.812 kB / 483.3 MB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004426, allocations: 0 / 483.3 MB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.64e-05/0.004503, allocations: 67.58 kB / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.004503, allocations: 0.5469 kB / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.004526, allocations: 8 kB / 483.4 MB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.004527, allocations: 1.281 kB / 483.4 MB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-06/0.004531, allocations: 3.938 kB / 483.4 MB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.004532, allocations: 4 kB / 483.4 MB, free: 3.355 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.004533, allocations: 5.203 kB / 483.4 MB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.559e-05/0.004599, allocations: 136.4 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.004605, allocations: 3.953 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.004614, allocations: 7.984 kB / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.874e-05/0.004643, allocations: 5.906 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.004668, allocations: 0 / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.00467, allocations: 5.312 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.175e-05/0.004682, allocations: 16.77 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004682, allocations: 0 / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001112/0.004793, allocations: 6.344 kB / 483.6 MB, free: 3.16 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 8.369e-05/0.004877, allocations: 80.42 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5e-05/0.004927, allocations: 12.8 kB / 483.7 MB, free: 3.055 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.004929, allocations: 1.688 kB / 483.7 MB, free: 3.055 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.291e-05/0.004942, allocations: 8.859 kB / 483.7 MB, free: 3.043 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.005081, allocations: 7.984 kB / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.005418, allocations: 108.5 kB / 483.8 MB, free: 2.906 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.701e-05/0.005445, allocations: 51.36 kB / 483.9 MB, free: 2.836 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.656e-05/0.005461, allocations: 4.75 kB / 483.9 MB, free: 2.832 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.005499, allocations: 52.12 kB / 483.9 MB, free: 2.781 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.005499, allocations: 5.688 kB / 483.9 MB, free: 2.777 MB / 442.7 MB Notification: Performance of Templates: time 0.001874/0.007373, allocations: 463.7 kB / 484.4 MB, free: 2.348 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5955719109624624]