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.000895/0.000895, 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.0009626/0.0009626, 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.9728/0.9728, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.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.8142/0.8142, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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: 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.001488/0.001488, allocations: 66.09 kB / 0.7182 GB, free: 4 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5668/0.5682, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001584/0.5698, allocations: 0.6553 MB / 0.8185 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008527/0.5707, allocations: 0.8443 MB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.5707, allocations: 0 / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.5708, allocations: 4.547 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.782e-05/0.5708, allocations: 7.062 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.571, allocations: 8.531 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.226e-05/0.5711, allocations: 28 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.762e-05/0.5712, allocations: 3.797 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.821e-05/0.5713, allocations: 14.73 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.5713, allocations: 5.156 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.5713, allocations: 2.531 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.794e-05/0.5714, allocations: 8.094 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.5714, allocations: 12.41 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.5714, allocations: 7.547 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.5715, allocations: 28.94 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5715, allocations: 0 / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5715, allocations: 4 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.5716, allocations: 0.7969 kB / 0.8194 GB, free: 15.93 MB / 0.6198 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.00042/0.572, allocations: 262.9 kB / 0.8197 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.572, allocations: 11.22 kB / 0.8197 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.352e-05/0.5721, allocations: 31.45 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.5721, allocations: 8.312 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.5722, allocations: 111.7 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.5723, allocations: 2.969 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.5723, allocations: 4.375 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.5724, allocations: 51.02 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.5724, allocations: 3.938 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.5725, allocations: 7.938 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5725, allocations: 0 / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.5726, allocations: 32.88 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.5729, allocations: 217.3 kB / 0.8201 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.573, allocations: 36.3 kB / 0.8202 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.5731, allocations: 25.47 kB / 0.8202 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.5731, allocations: 0 / 0.8202 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.5731, allocations: 37.3 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.5731, allocations: 0 / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002806/0.5734, allocations: 89.52 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.5735, allocations: 51.41 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.476e-05/0.5735, allocations: 100.7 kB / 0.8205 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.5735, allocations: 33.17 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.5736, allocations: 80.84 kB / 0.8206 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.5736, allocations: 7.938 kB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.5736, allocations: 18.84 kB / 0.8206 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5737, allocations: 312.3 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.5738, allocations: 13.83 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.5739, allocations: 18.2 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.574, allocations: 41.41 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.574, allocations: 3.938 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001458/0.5741, allocations: 72.52 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5741, allocations: 3.812 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.5741, allocations: 0.5625 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.5742, allocations: 0.5312 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.215e-05/0.5742, allocations: 8.219 kB / 0.8211 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5743, allocations: 6.688 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.5743, allocations: 9.234 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.5743, allocations: 0.6094 kB / 0.8211 GB, free: 14.37 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.827e-05/0.5744, allocations: 117.7 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.5744, allocations: 1.797 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.5745, allocations: 78.34 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5745, allocations: 1.312 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5746, allocations: 0 / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5746, allocations: 5.938 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.5747, allocations: 124.1 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5747, allocations: 0.75 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.5747, allocations: 12.19 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5747, allocations: 3.453 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.5747, allocations: 0 / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5747, allocations: 0 / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5747, allocations: 0.5625 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.5749, allocations: 168.9 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.5749, allocations: 6.562 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.5749, allocations: 1.125 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.254e-05/0.5749, allocations: 17.89 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.575, allocations: 3.266 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.575, allocations: 3.938 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.748e-05/0.575, allocations: 83.03 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.575, allocations: 0 / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001414/0.5752, allocations: 3.656 kB / 0.8217 GB, free: 13.8 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.0003529/0.5755, allocations: 0.6898 MB / 0.8223 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.5757, allocations: 35.27 kB / 0.8224 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5757, allocations: 0 / 0.8224 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.5757, allocations: 24.2 kB / 0.8224 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.576, allocations: 8.641 kB / 0.8224 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.5764, allocations: 137.5 kB / 0.8225 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.5768, allocations: 61.81 kB / 0.8226 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.5768, allocations: 0 / 0.8226 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.5769, allocations: 8.141 kB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.5769, allocations: 0 / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.5941, allocations: 1.809 MB / 0.8244 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.469/7.063, allocations: 6.922 kB / 0.8244 GB, free: 12.03 MB / 0.6198 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: 10.10296010831371] Failed to read output from testmodel.py, exit status != 0: 7.144501139875501 7.15754367 6.582984465 Calling exit ...