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.001003/0.001003, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.001061/0.001061, allocations: 162 kB / 22.43 MB, free: 2.145 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.8616/0.8616, allocations: 177.2 MB / 202.8 MB, free: 5.758 MB / 186.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.6825/0.6825, allocations: 155 MB / 414.2 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.0009224/0.0009224, allocations: 64.34 kB / 0.6187 GB, free: 13.18 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4254, allocations: 102 MB / 0.7183 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00133/0.4268, allocations: 0.6537 MB / 0.719 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006538/0.4274, allocations: 0.8405 MB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.4275, allocations: 1.125 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.4275, allocations: 7.938 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.338e-05/0.4275, allocations: 1.578 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.4277, allocations: 21.22 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.4278, allocations: 23.5 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.273e-05/0.4279, allocations: 4.469 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.4279, allocations: 15.28 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.428, allocations: 9.047 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.428, allocations: 2.656 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.01e-05/0.428, allocations: 4.625 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.428, allocations: 9.828 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.4281, allocations: 7.531 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.4282, allocations: 32.92 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4282, allocations: 0.7812 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4282, allocations: 0 / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4282, allocations: 0 / 0.7199 GB, free: 22.01 MB / 0.6355 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.0003328/0.4285, allocations: 264.1 kB / 0.7202 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4286, allocations: 11.86 kB / 0.7202 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.433e-05/0.4286, allocations: 31.91 kB / 0.7202 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.423e-05/0.4287, allocations: 7.969 kB / 0.7202 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.852e-05/0.4287, allocations: 109 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.4287, allocations: 5.531 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.4287, allocations: 9.406 kB / 0.7203 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.4289, allocations: 49.78 kB / 0.7204 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4289, allocations: 3.938 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.4289, allocations: 1.156 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.4289, allocations: 0 / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.599e-05/0.429, allocations: 32.44 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.4292, allocations: 215.8 kB / 0.7206 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/0.4293, allocations: 48.64 kB / 0.7207 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.4293, allocations: 19.05 kB / 0.7207 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.4294, allocations: 4.547 kB / 0.7207 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.4294, allocations: 33.22 kB / 0.7207 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.4294, allocations: 3.938 kB / 0.7207 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002135/0.4296, allocations: 79.36 kB / 0.7208 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.4296, allocations: 57.53 kB / 0.7209 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.005e-05/0.4296, allocations: 108.5 kB / 0.721 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.779e-06/0.4297, allocations: 27.2 kB / 0.721 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.955e-05/0.4297, allocations: 84.66 kB / 0.7211 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.4297, allocations: 2.125 kB / 0.7211 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.4297, allocations: 17.28 kB / 0.7211 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.658e-05/0.4297, allocations: 313.5 kB / 0.7214 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.4298, allocations: 17.83 kB / 0.7214 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/0.4298, allocations: 18.75 kB / 0.7214 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.4299, allocations: 36.77 kB / 0.7215 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4299, allocations: 3.938 kB / 0.7215 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001042/0.43, allocations: 66.81 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.43, allocations: 6.016 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.43, allocations: 5.062 kB / 0.7215 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.43, allocations: 4.094 kB / 0.7215 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.4301, allocations: 12.72 kB / 0.7215 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4301, allocations: 1.969 kB / 0.7215 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.4301, allocations: 6 kB / 0.7216 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.4301, allocations: 0 / 0.7216 GB, free: 20.45 MB / 0.6355 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.547e-05/0.4302, allocations: 114.2 kB / 0.7217 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.4302, allocations: 2.188 kB / 0.7217 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.4303, allocations: 78.91 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.4303, allocations: 0.9062 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4303, allocations: 0 / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4303, allocations: 1.281 kB / 0.7217 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.138e-05/0.4304, allocations: 132.8 kB / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4304, allocations: 0 / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.4305, allocations: 13.03 kB / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4305, allocations: 0 / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.4305, allocations: 1.766 kB / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.4305, allocations: 0 / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4305, allocations: 0.8125 kB / 0.7219 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.4306, allocations: 163.5 kB / 0.722 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-06/0.4306, allocations: 14.8 kB / 0.7221 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.4306, allocations: 7.938 kB / 0.7221 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.801e-05/0.4306, allocations: 6.828 kB / 0.7221 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.4307, allocations: 2.859 kB / 0.7221 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.4307, allocations: 1.062 kB / 0.7221 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.498e-05/0.4307, allocations: 84.06 kB / 0.7221 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4307, allocations: 0 / 0.7221 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001397/0.4308, allocations: 8.188 kB / 0.7222 GB, free: 19.88 MB / 0.6355 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.0002101/0.431, allocations: 0.6919 MB / 0.7228 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.4312, allocations: 39.52 kB / 0.7229 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4312, allocations: 0 / 0.7229 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.179e-05/0.4312, allocations: 24.14 kB / 0.7229 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.4314, allocations: 3.297 kB / 0.7229 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.4317, allocations: 143.2 kB / 0.723 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.296e-05/0.4318, allocations: 59.64 kB / 0.7231 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.919e-05/0.4318, allocations: 2.062 kB / 0.7231 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.4318, allocations: 9.156 kB / 0.7231 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/0.4318, allocations: 0.9688 kB / 0.7231 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.4479, allocations: 1.928 MB / 0.725 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.629/7.077, allocations: 1.594 kB / 0.725 GB, free: 18.07 MB / 0.6355 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: 9.621158264111727] Failed to read output from testmodel.py, exit status != 0: 7.153291983995587 7.167092843 6.733729071 Calling exit ...