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.0009331/0.0009331, 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.001076/0.001076, allocations: 208.1 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.9749/0.9749, allocations: 230.6 MB / 256 MB, free: 9.582 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.787/0.787, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.001266/0.001266, allocations: 69.95 kB / 0.7182 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5561/0.5574, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001416/0.5588, allocations: 0.6526 MB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007338/0.5595, allocations: 0.8458 MB / 0.8193 GB, free: 0 / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.5596, allocations: 1.344 kB / 0.8193 GB, free: 0 / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.888e-05/0.5596, allocations: 7.984 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.771e-05/0.5597, allocations: 6.734 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.5599, allocations: 9.109 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.114e-05/0.56, allocations: 30.53 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.5601, allocations: 1.359 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.192e-05/0.5602, allocations: 12.11 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.5603, allocations: 6.328 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.5603, allocations: 3.062 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.32e-05/0.5603, allocations: 13.36 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.5604, allocations: 0.6562 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.5604, allocations: 16.12 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.5605, allocations: 30.91 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5606, allocations: 0.6094 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5606, allocations: 0 / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.5606, allocations: 2.594 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.0004875/0.561, allocations: 261.8 kB / 0.8197 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.5611, allocations: 9.406 kB / 0.8197 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.5611, allocations: 35.45 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.497e-05/0.5612, allocations: 3.609 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.465e-05/0.5613, allocations: 118.9 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.5613, allocations: 4.375 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.5613, allocations: 2.328 kB / 0.8199 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.5615, allocations: 55.11 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5615, allocations: 3.938 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.5615, allocations: 0.6094 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5615, allocations: 0 / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.5616, allocations: 34.11 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.5619, allocations: 212.8 kB / 0.8201 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.827e-05/0.562, allocations: 44.69 kB / 0.8202 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.5621, allocations: 19.38 kB / 0.8202 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.5621, allocations: 0 / 0.8202 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.5621, allocations: 37.48 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.5621, allocations: 0 / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002414/0.5624, allocations: 79.11 kB / 0.8203 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.5624, allocations: 57.53 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.753e-05/0.5625, allocations: 101.6 kB / 0.8205 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.5625, allocations: 25.7 kB / 0.8205 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.5625, allocations: 82.53 kB / 0.8206 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.5625, allocations: 8.562 kB / 0.8206 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.5626, allocations: 17.14 kB / 0.8206 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.5626, allocations: 314.9 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.5627, allocations: 17.91 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.5627, allocations: 16.84 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.729e-05/0.5628, allocations: 37.17 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5628, allocations: 4.438 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000122/0.5629, allocations: 76.25 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.563, allocations: 10.36 kB / 0.8211 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.563, allocations: 0 / 0.8211 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.563, allocations: 4.094 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.336e-05/0.5631, allocations: 7.625 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5631, allocations: 1.766 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.5631, allocations: 11.05 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.5631, allocations: 0 / 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 7.224e-05/0.5632, allocations: 113.4 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.5632, allocations: 0 / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.5633, allocations: 83.69 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5633, allocations: 0 / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5633, allocations: 1.094 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5633, allocations: 0.7031 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.5635, allocations: 128.9 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5635, allocations: 0 / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.5635, allocations: 9.312 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5635, allocations: 0 / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.5635, allocations: 2.25 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.5635, allocations: 4 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5635, allocations: 0 / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.5637, allocations: 172.4 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.5637, allocations: 4.516 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.5637, allocations: 0.6094 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.5637, allocations: 6.531 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.5638, allocations: 5.156 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.5638, allocations: 0 / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.447e-05/0.5638, allocations: 84.59 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5638, allocations: 0 / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001393/0.5639, allocations: 9.812 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.0003362/0.5643, allocations: 0.6906 MB / 0.8223 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.5644, allocations: 33.23 kB / 0.8224 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5644, allocations: 0 / 0.8224 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.414e-05/0.5645, allocations: 24.95 kB / 0.8224 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.5647, allocations: 11.03 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.0003508/0.5651, allocations: 133.5 kB / 0.8225 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.721e-05/0.5651, allocations: 62.5 kB / 0.8226 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.018e-05/0.5651, allocations: 1.953 kB / 0.8226 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.5652, allocations: 13.44 kB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.5652, allocations: 0 / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.5835, allocations: 1.821 MB / 0.8244 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.519/7.102, allocations: 9.906 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.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.14282522490248] Failed to read output from testmodel.py, exit status != 0: 7.182665299158543 7.19177271 6.629138824 Calling exit ...