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.001083/0.001083, 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.001121/0.001121, allocations: 169.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.9522/0.9522, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7395/0.7395, allocations: 154.5 MB / 413.7 MB, free: 0.8047 MB / 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.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: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0 / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.441e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001387/0.001411, allocations: 0.6552 MB / 0.6187 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008543/0.002266, allocations: 0.8432 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.0023, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.002331, allocations: 3.938 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.418e-05/0.002395, allocations: 3.984 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.002578, allocations: 11.94 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.405e-05/0.002652, allocations: 35.86 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.002747, allocations: 0 / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.819e-05/0.002815, allocations: 11.98 kB / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.69e-05/0.002852, allocations: 11.98 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.002866, allocations: 4 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.222e-05/0.002909, allocations: 4 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.002925, allocations: 11.92 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.002945, allocations: 7.938 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.003051, allocations: 23.95 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003053, allocations: 0 / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.913e-06/0.003055, allocations: 4 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.003059, allocations: 4 kB / 0.6197 GB, free: 11.96 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.000397/0.003456, allocations: 258.3 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.0035, allocations: 13.47 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.908e-05/0.003529, allocations: 30.75 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.822e-05/0.003597, allocations: 4.891 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.68e-05/0.003684, allocations: 109.8 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.003694, allocations: 384 / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.003703, allocations: 4.375 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.003829, allocations: 46.23 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.003836, allocations: 4.188 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.003845, allocations: 4.375 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.003852, allocations: 8.125 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.564e-05/0.003948, allocations: 31.91 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.004225, allocations: 208.1 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.778e-05/0.004303, allocations: 34.56 kB / 0.6204 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.00435, allocations: 28.91 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.004372, allocations: 0 / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.004394, allocations: 38.48 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.004395, allocations: 3.938 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002158/0.00461, allocations: 85.55 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.004641, allocations: 55.39 kB / 0.6206 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/0.0047, allocations: 101.8 kB / 0.6207 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.004715, allocations: 29.83 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.004753, allocations: 84.14 kB / 0.6208 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.004769, allocations: 3.953 kB / 0.6208 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.004794, allocations: 17.7 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.682e-05/0.004881, allocations: 314.8 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/0.004922, allocations: 15.98 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.628e-05/0.004958, allocations: 15.98 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.772e-05/0.005036, allocations: 48.81 kB / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005037, allocations: 0 / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.57e-05/0.005133, allocations: 61.61 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.005145, allocations: 8 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.00515, allocations: 3.984 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.00516, allocations: 0 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.005344, allocations: 4 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.005352, allocations: 4 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.005397, allocations: 15.95 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.005404, allocations: 0 / 0.6213 GB, free: 10.1 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 7.023e-05/0.005475, allocations: 110.8 kB / 0.6214 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.005498, allocations: 7.938 kB / 0.6214 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.005685, allocations: 68.91 kB / 0.6215 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.005689, allocations: 4.172 kB / 0.6215 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.005694, allocations: 0 / 0.6215 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.005698, allocations: 3.984 kB / 0.6215 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.005826, allocations: 132.8 kB / 0.6216 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.005828, allocations: 0 / 0.6216 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.005868, allocations: 11.98 kB / 0.6217 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.005873, allocations: 3.938 kB / 0.6217 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.005879, allocations: 0 / 0.6217 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.005881, allocations: 4 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.005883, allocations: 0 / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.006034, allocations: 167.4 kB / 0.6218 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.006042, allocations: 7.969 kB / 0.6218 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.006053, allocations: 7.922 kB / 0.6218 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.006117, allocations: 4 kB / 0.6218 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.006154, allocations: 7.984 kB / 0.6218 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.006157, allocations: 0 / 0.6218 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.006191, allocations: 83.28 kB / 0.6219 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006191, allocations: 0 / 0.6219 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001462/0.006337, allocations: 4 kB / 0.6219 GB, free: 9.402 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.0003233/0.006661, allocations: 0.6929 MB / 0.6226 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.006821, allocations: 39.89 kB / 0.6226 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006823, allocations: 7.938 kB / 0.6227 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.006864, allocations: 11.98 kB / 0.6227 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.007131, allocations: 10.19 kB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.0075, allocations: 130.8 kB / 0.6228 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.393e-05/0.007554, allocations: 63.34 kB / 0.6229 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.146e-05/0.007575, allocations: 0 / 0.6229 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.007612, allocations: 8.5 kB / 0.6229 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of SimCode: time 8.72e-07/0.007613, allocations: 0 / 0.6229 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.02508, allocations: 1.957 MB / 0.6248 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/6.863, allocations: 11.45 kB / 0.6248 GB, free: 6.539 MB / 0.5886 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: 9.789063055068254] Failed to read output from testmodel.py, exit status != 0: 6.946936794556677 6.95608863 6.951169412 Calling exit ...