Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001004/0.001004, allocations: 72.47 kB / 19.14 MB, free: 0.7734 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.0009987/0.0009987, allocations: 161.9 kB / 22.43 MB, free: 2.141 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.8977/0.8977, allocations: 177.2 MB / 202.8 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7066/0.7066, allocations: 154.7 MB / 413.9 MB, free: 292 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="IDEAS_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.0008894/0.0008894, allocations: 70.34 kB / 0.6184 GB, free: 13.54 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4596/0.4605, allocations: 102 MB / 0.7179 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001426/0.4619, allocations: 0.6477 MB / 0.7186 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007325/0.4627, allocations: 0.8403 MB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.4627, allocations: 1.281 kB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.4627, allocations: 7.938 kB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.684e-05/0.4628, allocations: 6.078 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.463, allocations: 15.91 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.163e-05/0.463, allocations: 28.64 kB / 0.7195 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.4631, allocations: 4.203 kB / 0.7195 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.805e-05/0.4632, allocations: 10.75 kB / 0.7195 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.296e-05/0.4632, allocations: 14.61 kB / 0.7195 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.4632, allocations: 1.281 kB / 0.7195 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.059e-05/0.4633, allocations: 9.25 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.4633, allocations: 1.5 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.4633, allocations: 18.89 kB / 0.7195 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.4634, allocations: 25.88 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4634, allocations: 0 / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4634, allocations: 0 / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4634, allocations: 1.906 kB / 0.7195 GB, free: 22.23 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.0003024/0.4637, allocations: 266.2 kB / 0.7198 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4638, allocations: 10.62 kB / 0.7198 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.201e-05/0.4638, allocations: 35.2 kB / 0.7198 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.4639, allocations: 8.031 kB / 0.7198 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.391e-05/0.4639, allocations: 105.5 kB / 0.7199 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.4639, allocations: 6.344 kB / 0.72 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.4639, allocations: 5.484 kB / 0.72 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.4641, allocations: 48.67 kB / 0.72 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4641, allocations: 5.5 kB / 0.72 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.4641, allocations: 0 / 0.72 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4641, allocations: 0 / 0.72 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.059e-05/0.4642, allocations: 33.27 kB / 0.72 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.4644, allocations: 218.3 kB / 0.7202 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.135e-05/0.4645, allocations: 44.97 kB / 0.7203 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.4646, allocations: 23.14 kB / 0.7203 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.4646, allocations: 1.922 kB / 0.7203 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.4646, allocations: 31.53 kB / 0.7203 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4646, allocations: 0 / 0.7203 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002161/0.4648, allocations: 84.78 kB / 0.7204 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.4648, allocations: 55.44 kB / 0.7205 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.535e-05/0.4649, allocations: 102.1 kB / 0.7206 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.4649, allocations: 25.7 kB / 0.7206 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.4649, allocations: 87.33 kB / 0.7207 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.4649, allocations: 1.172 kB / 0.7207 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.4649, allocations: 12.22 kB / 0.7207 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.841e-05/0.465, allocations: 316.6 kB / 0.721 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.465, allocations: 14.3 kB / 0.721 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.465, allocations: 22.66 kB / 0.721 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.673e-05/0.4651, allocations: 38.06 kB / 0.7211 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4651, allocations: 3.938 kB / 0.7211 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.921e-05/0.4652, allocations: 71.27 kB / 0.7211 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.4652, allocations: 5.875 kB / 0.7211 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4652, allocations: 0.5625 kB / 0.7211 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.4652, allocations: 4.094 kB / 0.7212 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.4653, allocations: 8.5 kB / 0.7212 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.4653, allocations: 5.125 kB / 0.7212 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.277e-05/0.4653, allocations: 10.72 kB / 0.7212 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.4653, allocations: 4 kB / 0.7212 GB, free: 20.67 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.385e-05/0.4654, allocations: 118.5 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.4654, allocations: 0.6094 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.4655, allocations: 79.55 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.4655, allocations: 1 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4655, allocations: 0 / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4655, allocations: 1.641 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.497e-05/0.4656, allocations: 128.7 kB / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4656, allocations: 0 / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.4656, allocations: 9.062 kB / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4656, allocations: 0.6562 kB / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.4656, allocations: 1.906 kB / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.4656, allocations: 0 / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4656, allocations: 0.6562 kB / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.4658, allocations: 168.4 kB / 0.7217 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-06/0.4658, allocations: 4.609 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.4658, allocations: 0.9688 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.4658, allocations: 6.109 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.4658, allocations: 12.17 kB / 0.7217 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.4658, allocations: 192 / 0.7217 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.605e-05/0.4659, allocations: 84.5 kB / 0.7218 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4659, allocations: 0 / 0.7218 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001326/0.466, allocations: 7.75 kB / 0.7218 GB, free: 20.1 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.000213/0.4662, allocations: 0.6876 MB / 0.7224 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.4663, allocations: 35.52 kB / 0.7225 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4663, allocations: 5 kB / 0.7225 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.225e-05/0.4664, allocations: 24.03 kB / 0.7225 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.4666, allocations: 2.75 kB / 0.7225 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.4669, allocations: 142.8 kB / 0.7226 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.4669, allocations: 60.66 kB / 0.7227 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.809e-05/0.467, allocations: 1.062 kB / 0.7227 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.467, allocations: 14.2 kB / 0.7227 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/0.467, allocations: 0 / 0.7227 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.4808, allocations: 1.933 MB / 0.7246 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.446/6.927, allocations: 3.703 kB / 0.7246 GB, free: 18.3 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.702612580964342] Failed to read output from testmodel.py, exit status != 0: 7.006796139990911 7.016565395 6.550799679 Calling exit ...