Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008276/0.0008276, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000983/0.000983, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8998/0.8998, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7097/0.7097, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.426e-05, allocations: 4.953 kB / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001275/0.001299, allocations: 0.6416 MB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007768/0.002076, allocations: 0.851 MB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.002103, allocations: 0 / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.002128, allocations: 3.938 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.002181, allocations: 7.984 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.002352, allocations: 11.92 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.23e-05/0.002414, allocations: 27.92 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.002506, allocations: 3.938 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.52e-05/0.002572, allocations: 19.92 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.134e-05/0.002603, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.002617, allocations: 8 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.121e-05/0.002659, allocations: 7.984 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.002671, allocations: 3.984 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.00269, allocations: 11.94 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.558e-05/0.002786, allocations: 19.97 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.002788, allocations: 4 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002789, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.002793, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 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.0003318/0.003125, allocations: 258.3 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.003164, allocations: 12.03 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.117e-05/0.003195, allocations: 42.73 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.003257, allocations: 4.891 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.532e-05/0.003332, allocations: 105.8 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.003342, allocations: 384 / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.00335, allocations: 4.375 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.003494, allocations: 46.23 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.003501, allocations: 192 / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.003511, allocations: 4.375 kB / 0.6202 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.003517, allocations: 8.062 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.106e-05/0.003608, allocations: 35.95 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.004036, allocations: 212.1 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.00412, allocations: 34.56 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.004164, allocations: 20.89 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.004187, allocations: 4 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.004206, allocations: 42.44 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.004207, allocations: 0 / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002186/0.004425, allocations: 85.53 kB / 0.6206 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.004454, allocations: 55.41 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.336e-05/0.004508, allocations: 101.8 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.004517, allocations: 25.7 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.00455, allocations: 92.11 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.004567, allocations: 7.953 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.00459, allocations: 9.719 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.004659, allocations: 310.8 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.096e-05/0.0047, allocations: 24.11 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.401e-05/0.004734, allocations: 15.97 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.647e-05/0.00481, allocations: 44.77 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.004812, allocations: 0 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001009/0.004913, allocations: 73.66 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.004927, allocations: 6.031 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.004932, allocations: 0 / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.004942, allocations: 0 / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.005006, allocations: 11.98 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.00501, allocations: 0 / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.005033, allocations: 7.938 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.005038, allocations: 0 / 0.6214 GB, free: 10.07 MB / 0.5886 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 4.828e-05/0.005086, allocations: 110.8 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.0051, allocations: 8.125 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.005228, allocations: 84.88 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.00523, allocations: 0 / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.005234, allocations: 0 / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.005236, allocations: 4 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.665e-05/0.005332, allocations: 124.8 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005334, allocations: 0 / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.00536, allocations: 7.984 kB / 0.6217 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.005363, allocations: 3.938 kB / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.005369, allocations: 8.031 kB / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.00537, allocations: 4 kB / 0.6217 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005371, allocations: 0 / 0.6217 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.005496, allocations: 167.4 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.005501, allocations: 3.938 kB / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.005513, allocations: 4 kB / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.005547, allocations: 3.938 kB / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.005582, allocations: 7.984 kB / 0.6219 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.005584, allocations: 4.031 kB / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.443e-05/0.005609, allocations: 79.28 kB / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005609, allocations: 0 / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001397/0.005749, allocations: 8 kB / 0.622 GB, free: 9.379 MB / 0.5886 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.0003185/0.006067, allocations: 0.689 MB / 0.6227 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.006191, allocations: 43.94 kB / 0.6227 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.006193, allocations: 3.938 kB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/0.006235, allocations: 15.98 kB / 0.6227 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.006451, allocations: 7.984 kB / 0.6227 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.006768, allocations: 130.6 kB / 0.6229 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.006807, allocations: 59.36 kB / 0.6229 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.878e-05/0.006826, allocations: 4.109 kB / 0.6229 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.006858, allocations: 12.5 kB / 0.6229 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.006858, allocations: 0 / 0.6229 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.02278, allocations: 1.936 MB / 0.6248 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.514/6.537, allocations: 4.062 kB / 0.6248 GB, free: 6.527 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.173982182517648] Failed to read output from testmodel.py, exit status != 0: 6.6193460719659925 6.633557621 6.628218804 Calling exit ...