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.0008894/0.0008894, 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.000916/0.000916, 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.9318/0.9318, 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.7298/0.7298, allocations: 154.6 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.657e-06/3.657e-06, allocations: 0 / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.856e-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.002391/0.00242, allocations: 0.6552 MB / 0.6187 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.00375, allocations: 0.8393 MB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.003796, allocations: 0 / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.003832, allocations: 3.938 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.003913, allocations: 7.922 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.004152, allocations: 15.92 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.004259, allocations: 27.92 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.004381, allocations: 4 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.818e-05/0.00448, allocations: 11.98 kB / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.004526, allocations: 11.94 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.004544, allocations: 0 / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.004602, allocations: 11.92 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.004623, allocations: 11.98 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.004644, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.004777, allocations: 23.97 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.004783, allocations: 3.984 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.164e-06/0.004786, allocations: 0 / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.004791, allocations: 7.938 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.0004589/0.00525, allocations: 262.3 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.005302, allocations: 9.469 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.005344, allocations: 30.75 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.051e-05/0.005434, allocations: 8.891 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.005539, allocations: 101.8 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.005553, allocations: 4.375 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.005563, allocations: 384 / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.005753, allocations: 50.23 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.005762, allocations: 4.188 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.005773, allocations: 384 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.00578, allocations: 4.125 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.005929, allocations: 39.89 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.006307, allocations: 208.1 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.006409, allocations: 38.55 kB / 0.6204 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/0.006453, allocations: 20.91 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.006473, allocations: 8 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.006492, allocations: 34.5 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.006494, allocations: 3.938 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000237/0.006731, allocations: 85.59 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.006767, allocations: 51.41 kB / 0.6206 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.001e-05/0.006827, allocations: 101.8 kB / 0.6207 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.006839, allocations: 29.7 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.006876, allocations: 92.25 kB / 0.6208 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.006892, allocations: 3.953 kB / 0.6208 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.00692, allocations: 13.72 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.007005, allocations: 314.8 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.007052, allocations: 15.97 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.00709, allocations: 19.98 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.256e-05/0.007172, allocations: 40.83 kB / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007175, allocations: 0 / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001105/0.007285, allocations: 69.59 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.007299, allocations: 4 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.007304, allocations: 0 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.00732, allocations: 4 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.007391, allocations: 11.92 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.007396, allocations: 0 / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.007423, allocations: 11.97 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.00743, allocations: 3.984 kB / 0.6213 GB, free: 10.09 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 6.33e-05/0.007493, allocations: 114.8 kB / 0.6214 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.007508, allocations: 3.938 kB / 0.6214 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.00765, allocations: 72.91 kB / 0.6215 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.007653, allocations: 192 / 0.6215 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.007657, allocations: 0 / 0.6215 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.007661, allocations: 3.984 kB / 0.6215 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.007763, allocations: 128.8 kB / 0.6216 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.007764, allocations: 0 / 0.6216 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.007794, allocations: 15.98 kB / 0.6217 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.007797, allocations: 3.938 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.007803, allocations: 0 / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.007804, allocations: 0 / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.007805, allocations: 0 / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.007944, allocations: 167.4 kB / 0.6218 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.007952, allocations: 11.97 kB / 0.6218 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.007963, allocations: 0 / 0.6218 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.008, allocations: 7.984 kB / 0.6218 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.008035, allocations: 0 / 0.6218 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.008037, allocations: 0 / 0.6218 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.935e-05/0.008067, allocations: 83.28 kB / 0.6219 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008067, allocations: 0 / 0.6219 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001426/0.008209, allocations: 4 kB / 0.6219 GB, free: 9.41 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.000341/0.00855, allocations: 0.7007 MB / 0.6226 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.008686, allocations: 35.91 kB / 0.6226 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008687, allocations: 3.938 kB / 0.6226 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/0.008728, allocations: 19.97 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.000258/0.008986, 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.0003395/0.009325, 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 4.136e-05/0.009367, allocations: 59.34 kB / 0.6229 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.998e-05/0.009387, allocations: 4 kB / 0.6229 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.009422, allocations: 12.44 kB / 0.6229 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.009422, allocations: 0 / 0.6229 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.02667, allocations: 1.957 MB / 0.6248 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/6.85, allocations: 7.391 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.647773644886911] Failed to read output from testmodel.py, exit status != 0: 6.929808643646538 6.938712403 6.932118097 Calling exit ...