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.0009141/0.0009141, 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.0008993/0.0008993, allocations: 165.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.9009/0.9009, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7138/0.7138, allocations: 154.6 MB / 413.7 MB, free: 0.793 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 1.714e-06/1.714e-06, allocations: 0 / 0.6182 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.366e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001044/0.001058, allocations: 0.6577 MB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007225/0.001781, allocations: 0.8432 MB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.001806, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.001829, allocations: 3.938 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.001877, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.002037, allocations: 19.86 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.484e-05/0.002092, allocations: 19.94 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.066e-05/0.002172, allocations: 11.98 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.002231, allocations: 15.94 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.137e-05/0.002262, allocations: 11.97 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.002274, allocations: 0 / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.708e-05/0.002311, allocations: 4 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.002323, allocations: 4 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.002339, allocations: 7.984 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.709e-05/0.002436, allocations: 27.91 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002438, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002439, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.002442, allocations: 0 / 0.6197 GB, free: 11.99 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.0002877/0.00273, allocations: 266.3 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.002762, allocations: 8.031 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.531e-05/0.002788, allocations: 30.75 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.002841, allocations: 12.88 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.726e-05/0.002908, allocations: 105.8 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.002917, allocations: 4.375 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.002924, allocations: 384 / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.003034, allocations: 54.17 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.00304, allocations: 192 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-06/0.003046, allocations: 384 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.003051, allocations: 8.125 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.006e-05/0.003131, allocations: 31.97 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.003364, allocations: 216 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.003443, allocations: 38.5 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.003486, allocations: 20.89 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.003502, allocations: 0 / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.003519, allocations: 42.5 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.003519, allocations: 0 / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001971/0.003717, allocations: 85.59 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.003741, allocations: 51.41 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.787e-05/0.003789, allocations: 109.7 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.003798, allocations: 29.64 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.003826, allocations: 88.12 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.003839, allocations: 3.953 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.003865, allocations: 17.84 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.523e-05/0.00393, allocations: 314.8 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.003969, allocations: 15.98 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.004003, allocations: 15.97 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.998e-05/0.004073, allocations: 36.83 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.004074, allocations: 0 / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.061e-05/0.004165, allocations: 73.66 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.004175, allocations: 4 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.004179, allocations: 0 / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.004187, allocations: 0 / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.295e-05/0.00424, allocations: 15.92 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.004245, allocations: 0 / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.004266, allocations: 11.94 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.00427, allocations: 0 / 0.6214 GB, free: 10.12 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.978e-05/0.00432, allocations: 114.9 kB / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.004333, allocations: 3.938 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.004455, allocations: 76.91 kB / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.004456, allocations: 4 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.004459, allocations: 0 / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.004462, allocations: 0 / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.757e-05/0.004549, allocations: 124.8 kB / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.004551, allocations: 4 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.004573, allocations: 12.03 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.004575, allocations: 3.938 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.00458, allocations: 0 / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.004581, allocations: 3.984 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.004582, allocations: 3.938 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.004693, allocations: 159.5 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-06/0.004699, allocations: 7.938 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.004707, allocations: 0 / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.004741, allocations: 8.031 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.00477, allocations: 7.984 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.004772, allocations: 3.938 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.147e-05/0.004793, allocations: 79.28 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004793, allocations: 0 / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001351/0.004928, allocations: 4 kB / 0.622 GB, free: 9.434 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.0002566/0.005185, allocations: 0.6967 MB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.0053, allocations: 39.98 kB / 0.6227 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.005301, allocations: 3.938 kB / 0.6227 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.005406, allocations: 19.98 kB / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.005583, allocations: 1.875 kB / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.005865, allocations: 138.5 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.706e-05/0.005902, allocations: 59.48 kB / 0.6229 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.442e-05/0.005916, allocations: 0 / 0.6229 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.005948, allocations: 20.48 kB / 0.6229 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/0.005948, allocations: 0 / 0.6229 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/0.01904, allocations: 1.931 MB / 0.6248 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.071, allocations: 7.703 kB / 0.6248 GB, free: 6.574 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 & 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: 9.794741497375071] Failed to read output from testmodel.py, exit status != 0: 7.153183406218886 7.162305412 7.158159148 Calling exit ...