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.001079/0.001079, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.00124/0.00124, allocations: 162.3 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.8847/0.8847, allocations: 177.2 MB / 202.8 MB, free: 5.77 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7064/0.7064, allocations: 154.9 MB / 414.2 MB, free: 492 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.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.001473/0.001473, allocations: 68.41 kB / 0.6187 GB, free: 13.21 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.5007/0.5022, allocations: 102 MB / 0.7183 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001421/0.5036, allocations: 0.6504 MB / 0.7189 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000697/0.5043, allocations: 0.848 MB / 0.7197 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.5044, allocations: 1.344 kB / 0.7197 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.5044, allocations: 4 kB / 0.7197 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.5045, allocations: 4.688 kB / 0.7197 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.5046, allocations: 16.75 kB / 0.7198 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/0.5047, allocations: 20.7 kB / 0.7198 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.5048, allocations: 7.688 kB / 0.7198 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.765e-05/0.5049, allocations: 23.16 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.645e-05/0.5049, allocations: 10.62 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.5049, allocations: 2.375 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.949e-05/0.5049, allocations: 3.688 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.505, allocations: 5.922 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.505, allocations: 7.797 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.5051, allocations: 39.78 kB / 0.7199 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.5051, allocations: 0 / 0.7199 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5051, allocations: 1.094 kB / 0.7199 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.5051, allocations: 0 / 0.7199 GB, free: 22.09 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.0003075/0.5054, allocations: 261.6 kB / 0.7201 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.5054, allocations: 11.66 kB / 0.7201 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.188e-05/0.5055, allocations: 30.75 kB / 0.7202 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.5055, allocations: 8.578 kB / 0.7202 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.477e-05/0.5056, allocations: 104.7 kB / 0.7203 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.5056, allocations: 6.406 kB / 0.7203 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.5056, allocations: 5.875 kB / 0.7203 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.5057, allocations: 48.95 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.5057, allocations: 3.938 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.5057, allocations: 4.609 kB / 0.7203 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.5058, allocations: 1.469 kB / 0.7203 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.652e-05/0.5058, allocations: 31.31 kB / 0.7204 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.5061, allocations: 216 kB / 0.7206 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.5062, allocations: 39.7 kB / 0.7206 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.5062, allocations: 27.84 kB / 0.7206 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.5062, allocations: 0.6094 kB / 0.7206 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.5062, allocations: 32.38 kB / 0.7207 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5062, allocations: 1 kB / 0.7207 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002267/0.5065, allocations: 84.2 kB / 0.7207 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.5065, allocations: 56.47 kB / 0.7208 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.577e-05/0.5065, allocations: 101.6 kB / 0.7209 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-06/0.5066, allocations: 25.7 kB / 0.7209 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.301e-05/0.5066, allocations: 87.23 kB / 0.721 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.5066, allocations: 3.938 kB / 0.721 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.5066, allocations: 16.61 kB / 0.721 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.394e-05/0.5066, allocations: 317 kB / 0.7213 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.5067, allocations: 15.25 kB / 0.7213 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.984e-05/0.5067, allocations: 22.38 kB / 0.7214 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.725e-05/0.5068, allocations: 36.42 kB / 0.7214 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5068, allocations: 8.594 kB / 0.7214 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/0.5069, allocations: 67.83 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.5069, allocations: 4.688 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5069, allocations: 1.219 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.5069, allocations: 4.094 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.507, allocations: 9.016 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.507, allocations: 5.125 kB / 0.7215 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.507, allocations: 6.328 kB / 0.7215 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.507, allocations: 0 / 0.7215 GB, free: 20.53 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 3.891e-05/0.5071, allocations: 117.7 kB / 0.7216 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.5071, allocations: 1.906 kB / 0.7216 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.5072, allocations: 79.66 kB / 0.7217 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5072, allocations: 0 / 0.7217 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5072, allocations: 1.734 kB / 0.7217 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.5072, allocations: 192 / 0.7217 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.221e-05/0.5073, allocations: 124.8 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.5073, allocations: 0 / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.947e-05/0.5074, allocations: 17.81 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.5074, allocations: 0 / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.5074, allocations: 2.062 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5074, allocations: 0 / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5074, allocations: 3.938 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.5075, allocations: 164.2 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-06/0.5075, allocations: 5.984 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.5075, allocations: 0.5156 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.5075, allocations: 10.38 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.5076, allocations: 2.516 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.5076, allocations: 1.156 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.847e-05/0.5076, allocations: 80.11 kB / 0.7221 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5076, allocations: 0 / 0.7221 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001346/0.5077, allocations: 12.47 kB / 0.7221 GB, free: 19.96 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.0002534/0.508, allocations: 0.6952 MB / 0.7228 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.5081, allocations: 35.47 kB / 0.7228 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5081, allocations: 1.188 kB / 0.7228 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.5082, allocations: 23.5 kB / 0.7228 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.5084, allocations: 3.953 kB / 0.7228 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.5087, allocations: 146.9 kB / 0.723 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.669e-05/0.5087, allocations: 58.89 kB / 0.723 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.008e-05/0.5087, allocations: 2.266 kB / 0.723 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.5088, allocations: 10.05 kB / 0.723 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of SimCode: time 5.21e-07/0.5088, allocations: 1.219 kB / 0.723 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.5226, allocations: 1.941 MB / 0.7249 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.827/7.35, allocations: 3.516 kB / 0.7249 GB, free: 18.16 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.144202030962333] Failed to read output from testmodel.py, exit status != 0: 7.426148566999473 7.434091452 6.9272423 Calling exit ...