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.0007577/0.0007577, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008969/0.0008969, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9276/0.9276, allocations: 230.6 MB / 256 MB, free: 9.605 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.7865/0.7865, allocations: 203.5 MB / 0.5039 GB, free: 10.75 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.001694/0.001694, allocations: 70.95 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5645/0.5662, allocations: 102 MB / 0.8174 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001521/0.5677, allocations: 0.6605 MB / 0.8181 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.5685, allocations: 0.8384 MB / 0.8189 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.5686, allocations: 0.9062 kB / 0.8189 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.5686, allocations: 3.938 kB / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.5687, allocations: 10.31 kB / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.5689, allocations: 19.33 kB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.968e-05/0.569, allocations: 14.78 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.5691, allocations: 14.64 kB / 0.8189 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.5692, allocations: 6.734 kB / 0.819 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.941e-05/0.5692, allocations: 14.34 kB / 0.819 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.5692, allocations: 1.312 kB / 0.819 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.5693, allocations: 3.906 kB / 0.819 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.5693, allocations: 7.469 kB / 0.819 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.5693, allocations: 5.391 kB / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.5694, allocations: 40.34 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.5694, allocations: 1.312 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5694, allocations: 0 / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5694, allocations: 0 / 0.819 GB, free: 144 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.0004137/0.5699, allocations: 262.5 kB / 0.8193 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.5699, allocations: 9.25 kB / 0.8193 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.5699, allocations: 34.34 kB / 0.8193 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.533e-05/0.57, allocations: 1.594 kB / 0.8193 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.5701, allocations: 110.2 kB / 0.8194 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.5702, allocations: 6.719 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.5702, allocations: 4.375 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.5704, allocations: 53.62 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5704, allocations: 3.938 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.5704, allocations: 3.375 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.5704, allocations: 0 / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.5705, allocations: 30.84 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.5708, allocations: 212.2 kB / 0.8197 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.571, allocations: 42.62 kB / 0.8198 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.571, allocations: 27.19 kB / 0.8198 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.571, allocations: 2.812 kB / 0.8198 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.5711, allocations: 31.17 kB / 0.8198 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.5711, allocations: 0 / 0.8198 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002609/0.5713, allocations: 82.09 kB / 0.8199 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.5714, allocations: 56.09 kB / 0.82 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.5714, allocations: 96.95 kB / 0.82 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.5714, allocations: 25.7 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.5715, allocations: 86.81 kB / 0.8202 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.5715, allocations: 4.703 kB / 0.8202 GB, free: 15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.5715, allocations: 14.06 kB / 0.8202 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.5716, allocations: 316.1 kB / 0.8205 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.5717, allocations: 17.33 kB / 0.8205 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.902e-05/0.5717, allocations: 22.61 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.346e-05/0.5718, allocations: 43.48 kB / 0.8206 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5718, allocations: 3.938 kB / 0.8206 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001276/0.572, allocations: 65.92 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.572, allocations: 5.906 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.572, allocations: 4 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.572, allocations: 0.7969 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.113e-05/0.5721, allocations: 13.47 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.5721, allocations: 0 / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.5721, allocations: 15.41 kB / 0.8207 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.5721, allocations: 3.984 kB / 0.8207 GB, free: 14.58 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.645e-05/0.5722, allocations: 118.2 kB / 0.8208 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.5722, allocations: 0.75 kB / 0.8208 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.5724, allocations: 71.36 kB / 0.8208 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5724, allocations: 4.031 kB / 0.8208 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5724, allocations: 0 / 0.8208 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5724, allocations: 1.531 kB / 0.8208 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.5725, allocations: 127.6 kB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5725, allocations: 0.75 kB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.5725, allocations: 10.19 kB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5725, allocations: 3.938 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.5725, allocations: 0 / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5725, allocations: 2.938 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5725, allocations: 0 / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.5727, allocations: 173.6 kB / 0.8212 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.5727, allocations: 4.703 kB / 0.8212 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.5727, allocations: 1.75 kB / 0.8212 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/0.5728, allocations: 5.5 kB / 0.8212 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.5728, allocations: 3.391 kB / 0.8212 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.5728, allocations: 4.609 kB / 0.8212 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.411e-05/0.5728, allocations: 80.78 kB / 0.8212 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5728, allocations: 0 / 0.8212 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001565/0.573, allocations: 2.875 kB / 0.8213 GB, free: 14.02 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.0004069/0.5734, allocations: 0.6968 MB / 0.8219 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001632/0.5736, allocations: 34.91 kB / 0.822 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5736, allocations: 0 / 0.822 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.5736, allocations: 30.7 kB / 0.822 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.5739, allocations: 4.047 kB / 0.822 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.5743, allocations: 140.5 kB / 0.8221 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.5744, allocations: 59.98 kB / 0.8222 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.636e-05/0.5744, allocations: 3.078 kB / 0.8222 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.5744, allocations: 11.44 kB / 0.8222 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of SimCode: time 7.32e-07/0.5744, allocations: 1.438 kB / 0.8222 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.5894, allocations: 1.793 MB / 0.824 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.585/7.175, allocations: 18.06 kB / 0.824 GB, free: 12.25 MB / 0.6198 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.145429754629731] Failed to read output from testmodel.py, exit status != 0: 7.250333932694048 7.261585736 6.690045276 Calling exit ...