Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.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.0008454/0.0008454, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0008467/0.0008467, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9326/0.9326, allocations: 177.2 MB / 202.8 MB, free: 5.73 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.7431/0.7431, allocations: 154.5 MB / 413.7 MB, free: 0.8164 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0 / 0.6181 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.781e-05, allocations: 5.375 kB / 0.6181 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001766/0.001794, allocations: 0.6585 MB / 0.6187 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.003028, allocations: 0.8509 MB / 0.6196 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.003068, allocations: 0 / 0.6196 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.003103, allocations: 0 / 0.6196 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.645e-05/0.00318, allocations: 0 / 0.6196 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.003389, allocations: 15.92 kB / 0.6196 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.977e-05/0.003468, allocations: 27.91 kB / 0.6196 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 8.925e-05/0.003558, allocations: 4 kB / 0.6196 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.883e-05/0.003626, allocations: 15.92 kB / 0.6196 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 3.316e-05/0.00366, allocations: 8 kB / 0.6196 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.003672, allocations: 4 kB / 0.6196 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 4.313e-05/0.003715, allocations: 8 kB / 0.6197 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.003732, allocations: 7.984 kB / 0.6197 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.003747, allocations: 0 / 0.6197 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.003848, allocations: 35.83 kB / 0.6197 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.00385, allocations: 0 / 0.6197 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.323e-06/0.003852, allocations: 0 / 0.6197 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.003856, allocations: 0 / 0.6197 GB, free: 10.93 MB / 0.5417 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.0003374/0.004193, allocations: 258.4 kB / 0.6199 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.004233, allocations: 9.469 kB / 0.62 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/0.004263, allocations: 38.73 kB / 0.62 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.004328, allocations: 8.891 kB / 0.62 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.06e-05/0.004408, allocations: 109.7 kB / 0.6201 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.004417, allocations: 384 / 0.6201 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.004425, allocations: 384 / 0.6201 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.004551, allocations: 50.23 kB / 0.6201 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004558, allocations: 192 / 0.6201 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.004566, allocations: 384 / 0.6201 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004571, allocations: 4.125 kB / 0.6202 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.004657, allocations: 39.95 kB / 0.6202 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.004921, allocations: 208.1 kB / 0.6204 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.005002, allocations: 38.5 kB / 0.6204 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.005048, allocations: 28.89 kB / 0.6205 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.005066, allocations: 0 / 0.6205 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.005086, allocations: 34.5 kB / 0.6205 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.005087, allocations: 0 / 0.6205 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.000213/0.0053, allocations: 85.64 kB / 0.6206 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.005335, allocations: 59.28 kB / 0.6206 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.5e-05/0.00539, allocations: 97.84 kB / 0.6207 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.0054, allocations: 29.7 kB / 0.6207 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.005438, allocations: 96.02 kB / 0.6208 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.005454, allocations: 3.953 kB / 0.6208 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.005479, allocations: 13.72 kB / 0.6209 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.908e-05/0.005558, allocations: 314.8 kB / 0.6212 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.005604, allocations: 16.11 kB / 0.6212 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.631e-05/0.00564, allocations: 27.91 kB / 0.6212 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.568e-05/0.005716, allocations: 32.83 kB / 0.6212 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.005718, allocations: 4 kB / 0.6212 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001066/0.005825, allocations: 69.62 kB / 0.6213 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.00584, allocations: 12 kB / 0.6213 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.005845, allocations: 0 / 0.6213 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.005856, allocations: 0 / 0.6213 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.005919, allocations: 7.984 kB / 0.6213 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.005923, allocations: 0 / 0.6213 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.005944, allocations: 4 kB / 0.6213 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.00595, allocations: 4 kB / 0.6213 GB, free: 9.062 MB / 0.5417 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 5.216e-05/0.006002, allocations: 110.8 kB / 0.6214 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.006016, allocations: 7.922 kB / 0.6214 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.006144, allocations: 72.97 kB / 0.6215 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006146, allocations: 0 / 0.6215 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.00615, allocations: 0 / 0.6215 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.006153, allocations: 4 kB / 0.6215 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.006261, allocations: 124.8 kB / 0.6216 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.006263, allocations: 0 / 0.6216 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.006292, allocations: 11.94 kB / 0.6216 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.006295, allocations: 7.922 kB / 0.6217 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.006301, allocations: 4.031 kB / 0.6217 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006302, allocations: 0 / 0.6217 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006303, allocations: 0 / 0.6217 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.006431, allocations: 167.5 kB / 0.6218 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-06/0.006437, allocations: 3.938 kB / 0.6218 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.006446, allocations: 0 / 0.6218 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.588e-05/0.006482, allocations: 4 kB / 0.6218 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.479e-05/0.006517, allocations: 3.984 kB / 0.6218 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.006522, allocations: 4 kB / 0.6218 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.95e-05/0.006551, allocations: 83.31 kB / 0.6219 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.006551, allocations: 0 / 0.6219 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001486/0.0067, allocations: 4 kB / 0.6219 GB, free: 8.383 MB / 0.5417 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 0.0003625/0.007062, allocations: 0.7032 MB / 0.6226 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.007205, allocations: 43.94 kB / 0.6226 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.007208, allocations: 0 / 0.6226 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.007249, allocations: 23.86 kB / 0.6227 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.007493, allocations: 14.33 kB / 0.6227 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.007845, allocations: 130.5 kB / 0.6228 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.524e-05/0.00789, allocations: 55.36 kB / 0.6229 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.007912, allocations: 7.984 kB / 0.6229 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.007948, allocations: 12.62 kB / 0.6229 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of SimCode: time 7.41e-07/0.007948, allocations: 0 / 0.6229 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.02347, allocations: 1.93 MB / 0.6248 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.704/6.727, allocations: 9.812 kB / 0.6248 GB, free: 5.52 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.501624968834221] Failed to read output from testmodel.py, exit status != 0: 6.8076241090893745 6.817828024 6.8121440490000005 Calling exit ...