Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.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.0008705/0.0008705, allocations: 106 kB / 18.93 MB, free: 1.137 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.001555/0.001555, allocations: 220.6 kB / 22.26 MB, free: 2.453 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.9749/0.9749, allocations: 230.6 MB / 256 MB, free: 3.449 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.7951/0.7951, allocations: 203.8 MB / 0.5042 GB, free: 0.7422 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.Acos,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos",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.001022/0.001022, allocations: 67.89 kB / 0.7183 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.5064, allocations: 102 MB / 0.8179 GB, free: 24.93 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001573/0.508, allocations: 0.6648 MB / 0.8186 GB, free: 24.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.5088, allocations: 0.8572 MB / 0.8194 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.5089, allocations: 0 / 0.8194 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.5089, allocations: 1.688 kB / 0.8194 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.5089, allocations: 5.359 kB / 0.8194 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.5091, allocations: 14.64 kB / 0.8194 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.453e-05/0.5092, allocations: 25.89 kB / 0.8194 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.042e-05/0.5093, allocations: 7.812 kB / 0.8194 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.5094, allocations: 12.89 kB / 0.8195 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.5094, allocations: 13.59 kB / 0.8195 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.5094, allocations: 3 kB / 0.8195 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.5e-05/0.5095, allocations: 8.719 kB / 0.8195 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.5095, allocations: 6.062 kB / 0.8195 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.5095, allocations: 7.219 kB / 0.8195 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.5096, allocations: 35.47 kB / 0.8195 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5096, allocations: 2.344 kB / 0.8195 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.235e-06/0.5096, allocations: 0.6094 kB / 0.8195 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.5096, allocations: 0 / 0.8195 GB, free: 23.81 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.0003099/0.5099, allocations: 264.6 kB / 0.8198 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.51, allocations: 11.69 kB / 0.8198 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.422e-05/0.51, allocations: 31.31 kB / 0.8198 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.5101, allocations: 8.781 kB / 0.8198 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.101e-05/0.5101, allocations: 105.9 kB / 0.8199 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.5101, allocations: 2.031 kB / 0.8199 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.5102, allocations: 1.938 kB / 0.8199 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.5103, allocations: 54.45 kB / 0.82 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.5103, allocations: 3.938 kB / 0.82 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.5103, allocations: 0.8125 kB / 0.82 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5103, allocations: 1.156 kB / 0.82 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.445e-05/0.5104, allocations: 34.41 kB / 0.82 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.5106, allocations: 218.3 kB / 0.8202 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.174e-05/0.5107, allocations: 38.61 kB / 0.8203 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.5108, allocations: 32.22 kB / 0.8203 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.5108, allocations: 0 / 0.8203 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.5108, allocations: 32 kB / 0.8203 GB, free: 23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.5108, allocations: 0.9375 kB / 0.8203 GB, free: 23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000232/0.5111, allocations: 83.8 kB / 0.8204 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.5111, allocations: 52.69 kB / 0.8205 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.829e-05/0.5111, allocations: 100.3 kB / 0.8206 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.5111, allocations: 26.42 kB / 0.8206 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.267e-05/0.5112, allocations: 86.22 kB / 0.8207 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.5112, allocations: 5.5 kB / 0.8207 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.5112, allocations: 24.23 kB / 0.8207 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.986e-05/0.5112, allocations: 313.1 kB / 0.821 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.5113, allocations: 18.56 kB / 0.821 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.5113, allocations: 18.17 kB / 0.821 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.5114, allocations: 41.48 kB / 0.8211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5114, allocations: 3.938 kB / 0.8211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001292/0.5115, allocations: 66.8 kB / 0.8211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5116, allocations: 5.891 kB / 0.8211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5116, allocations: 1.219 kB / 0.8211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.5116, allocations: 0 / 0.8211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.5117, allocations: 8.906 kB / 0.8211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5117, allocations: 0.7812 kB / 0.8211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.5117, allocations: 14.2 kB / 0.8212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.5117, allocations: 4.5 kB / 0.8212 GB, free: 22.26 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.349e-05/0.5117, allocations: 116.5 kB / 0.8213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.5118, allocations: 1.094 kB / 0.8213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.5119, allocations: 76.2 kB / 0.8214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5119, allocations: 1.094 kB / 0.8214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5119, allocations: 4.031 kB / 0.8214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.5119, allocations: 4 kB / 0.8214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.782e-05/0.512, allocations: 131.9 kB / 0.8215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.512, allocations: 0 / 0.8215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.5121, allocations: 9.25 kB / 0.8215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5121, allocations: 1.031 kB / 0.8215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.5121, allocations: 0 / 0.8215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5121, allocations: 1.094 kB / 0.8215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5121, allocations: 0.7031 kB / 0.8215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.5122, allocations: 169.8 kB / 0.8217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.5122, allocations: 6.891 kB / 0.8217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.5122, allocations: 0.5625 kB / 0.8217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.189e-05/0.5123, allocations: 6.125 kB / 0.8217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.5123, allocations: 3.266 kB / 0.8217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.5123, allocations: 0.9688 kB / 0.8217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.118e-05/0.5123, allocations: 83.19 kB / 0.8218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5123, allocations: 1.094 kB / 0.8218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001499/0.5125, allocations: 3.156 kB / 0.8218 GB, free: 21.7 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.0002673/0.5127, allocations: 0.6995 MB / 0.8224 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.5129, allocations: 39.12 kB / 0.8225 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5129, allocations: 0 / 0.8225 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/0.513, allocations: 16.28 kB / 0.8225 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.5132, allocations: 3.125 kB / 0.8225 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.5136, allocations: 144.9 kB / 0.8226 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.007e-05/0.5136, allocations: 0.6767 MB / 0.8233 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.192e-05/0.5137, allocations: 0.625 kB / 0.8233 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.5137, allocations: 13.38 kB / 0.8233 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of SimCode: time 6.72e-07/0.5137, allocations: 0.8125 kB / 0.8233 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.5293, allocations: 1.388 MB / 0.8247 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.421/6.95, allocations: 6.094 kB / 0.8247 GB, free: 19.76 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.014139846898615] Failed to read output from testmodel.py, exit status != 0: 7.034018742851913 7.044792421 6.532963086 Calling exit ...