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.001077/0.001077, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009909/0.0009909, allocations: 206.6 kB / 22.24 MB, free: 3.582 MB / 13.93 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.9649/0.9649, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.816/0.816, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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: 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.00105/0.00105, allocations: 66.38 kB / 0.7178 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5667/0.5678, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001523/0.5693, allocations: 0.6613 MB / 0.8181 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.5702, allocations: 0.8472 MB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.5702, allocations: 0 / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.5702, allocations: 0 / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-05/0.5703, allocations: 9.219 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.5705, allocations: 16.72 kB / 0.8189 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.813e-05/0.5705, allocations: 24.86 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.5706, allocations: 5.25 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.549e-05/0.5707, allocations: 9.453 kB / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.5707, allocations: 8.875 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.5707, allocations: 2.031 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.127e-05/0.5708, allocations: 9.266 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.5708, allocations: 6.031 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.5708, allocations: 10.59 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.5709, allocations: 38.58 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5709, allocations: 0.75 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5709, allocations: 0 / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.5709, allocations: 0 / 0.819 GB, free: 128 kB / 0.6042 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.0003574/0.5713, allocations: 260.7 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5713, allocations: 9.969 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.5713, allocations: 33.08 kB / 0.8193 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.5714, allocations: 3.906 kB / 0.8193 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.5715, allocations: 113.1 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.5715, allocations: 3.156 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.5715, allocations: 4.375 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.5717, allocations: 48.27 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.5717, allocations: 4.969 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.5717, allocations: 3.156 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5717, allocations: 0 / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.756e-05/0.5718, allocations: 34.42 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.5721, allocations: 210.9 kB / 0.8197 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.628e-05/0.5722, allocations: 48 kB / 0.8198 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.5722, allocations: 16.95 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.5722, allocations: 0 / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.5723, allocations: 38.09 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.5723, allocations: 0 / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002362/0.5725, allocations: 77.56 kB / 0.8199 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.5725, allocations: 57.73 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.756e-05/0.5726, allocations: 101.4 kB / 0.82 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.5726, allocations: 29.64 kB / 0.8201 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.5726, allocations: 81.78 kB / 0.8202 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.5727, allocations: 5.625 kB / 0.8202 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.5727, allocations: 16.92 kB / 0.8202 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.5728, allocations: 313.3 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.882e-05/0.5728, allocations: 21.91 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.71e-05/0.5728, allocations: 14.59 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.302e-05/0.5729, allocations: 47 kB / 0.8206 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5729, allocations: 7.938 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001263/0.5731, allocations: 66.72 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.5731, allocations: 4.469 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5731, allocations: 2.969 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.5731, allocations: 0.6094 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.5732, allocations: 15.36 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5732, allocations: 0.7031 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.5732, allocations: 10.55 kB / 0.8207 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.5732, allocations: 0 / 0.8207 GB, free: 14.57 MB / 0.6198 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 6.23e-05/0.5733, allocations: 114 kB / 0.8208 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.5733, allocations: 0 / 0.8208 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.5735, allocations: 79.83 kB / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5735, allocations: 4.688 kB / 0.8208 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5735, allocations: 3.375 kB / 0.8209 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5735, allocations: 0 / 0.8209 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.5736, allocations: 130.7 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5736, allocations: 0.7031 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.5736, allocations: 9.375 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5736, allocations: 0 / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.5736, allocations: 1.125 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5736, allocations: 3.281 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5736, allocations: 0 / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.5738, allocations: 167.9 kB / 0.8211 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.5738, allocations: 9.828 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.5738, allocations: 0.75 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.5738, allocations: 6.031 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.5738, allocations: 4.578 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.5738, allocations: 0.7031 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.884e-05/0.5739, allocations: 79.16 kB / 0.8212 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5739, allocations: 0 / 0.8212 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001421/0.574, allocations: 6.781 kB / 0.8213 GB, free: 14.01 MB / 0.6198 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.0003491/0.5744, allocations: 0.6939 MB / 0.8219 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.5745, allocations: 44.42 kB / 0.822 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5745, allocations: 3.938 kB / 0.822 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.5745, allocations: 18.88 kB / 0.822 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.5748, allocations: 5.031 kB / 0.822 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.5751, allocations: 139.6 kB / 0.8221 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.97e-05/0.5752, allocations: 59.33 kB / 0.8222 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.5752, allocations: 2.188 kB / 0.8222 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.5753, allocations: 12.08 kB / 0.8222 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.5753, allocations: 0 / 0.8222 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.5929, allocations: 1.801 MB / 0.824 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.659, allocations: 10.02 kB / 0.824 GB, free: 12.23 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.696887687779963] Failed to read output from testmodel.py, exit status != 0: 7.7362592266872525 7.752327998 7.178983066 Calling exit ...