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.0007531/0.0007531, 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.000813/0.000813, 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.982/0.982, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.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.7817/0.7817, allocations: 203.5 MB / 0.5039 GB, free: 10.74 MB / 410.7 MB " [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.001685/0.001685, allocations: 64.81 kB / 0.7178 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5573/0.559, allocations: 102 MB / 0.8174 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001477/0.5605, allocations: 0.6595 MB / 0.8181 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007719/0.5612, allocations: 0.8395 MB / 0.8189 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.5613, allocations: 0 / 0.8189 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.5613, allocations: 4.031 kB / 0.8189 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.824e-05/0.5613, allocations: 3.938 kB / 0.8189 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.5615, allocations: 13.56 kB / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.161e-05/0.5616, allocations: 31.7 kB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.744e-05/0.5616, allocations: 4.969 kB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.708e-05/0.5617, allocations: 13.45 kB / 0.819 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.5617, allocations: 6.5 kB / 0.819 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.5617, allocations: 0 / 0.819 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.957e-05/0.5618, allocations: 5.688 kB / 0.819 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.5618, allocations: 8.922 kB / 0.819 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.5618, allocations: 7.156 kB / 0.819 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.719e-05/0.5619, allocations: 35.84 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5619, allocations: 0 / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5619, allocations: 0 / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.5619, allocations: 5.438 kB / 0.819 GB, free: 156 kB / 0.6042 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.0003098/0.5623, allocations: 262.5 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5623, allocations: 11.06 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.667e-05/0.5623, allocations: 31.55 kB / 0.8193 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.5624, allocations: 3.859 kB / 0.8193 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.318e-05/0.5625, allocations: 110.6 kB / 0.8194 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.5625, allocations: 384 / 0.8194 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.5625, allocations: 384 / 0.8194 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.5626, allocations: 50.98 kB / 0.8195 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5626, allocations: 7.938 kB / 0.8195 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.5626, allocations: 0 / 0.8195 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5626, allocations: 4.844 kB / 0.8195 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.5627, allocations: 35.95 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.563, allocations: 211.4 kB / 0.8197 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.322e-05/0.5631, allocations: 40 kB / 0.8198 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.5631, allocations: 23.03 kB / 0.8198 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.5631, allocations: 10.16 kB / 0.8198 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.5631, allocations: 31.91 kB / 0.8198 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.5631, allocations: 3.938 kB / 0.8198 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002063/0.5633, allocations: 80.61 kB / 0.8199 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.5634, allocations: 52.06 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.078e-05/0.5634, allocations: 105.3 kB / 0.8201 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.5634, allocations: 25.7 kB / 0.8201 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.5635, allocations: 86.95 kB / 0.8202 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.5635, allocations: 5.234 kB / 0.8202 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.5635, allocations: 16.89 kB / 0.8202 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.5636, allocations: 312.9 kB / 0.8205 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.397e-05/0.5636, allocations: 15.38 kB / 0.8205 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.5637, allocations: 17.92 kB / 0.8205 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.947e-05/0.5638, allocations: 45.17 kB / 0.8206 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5638, allocations: 3.938 kB / 0.8206 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001213/0.5639, allocations: 67.73 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5639, allocations: 6.188 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5639, allocations: 3.984 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.5639, allocations: 0.6562 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.564, allocations: 9.453 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.564, allocations: 0.7969 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.564, allocations: 12.48 kB / 0.8207 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.564, allocations: 3.156 kB / 0.8207 GB, free: 14.6 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 5.45e-05/0.5641, allocations: 114.6 kB / 0.8208 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.5641, allocations: 2.031 kB / 0.8208 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.5642, allocations: 78.36 kB / 0.8208 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.5642, allocations: 3.984 kB / 0.8208 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5642, allocations: 0 / 0.8208 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.5642, allocations: 0 / 0.8208 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.5643, allocations: 132.6 kB / 0.821 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.5643, allocations: 0 / 0.821 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.5644, allocations: 9.672 kB / 0.821 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.5644, allocations: 0 / 0.821 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.5644, allocations: 4 kB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5644, allocations: 0.75 kB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5644, allocations: 3.844 kB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.5645, allocations: 169.5 kB / 0.8212 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.5645, allocations: 8.734 kB / 0.8212 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.5645, allocations: 0 / 0.8212 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.5646, allocations: 7.109 kB / 0.8212 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.5646, allocations: 9.547 kB / 0.8212 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.5646, allocations: 3.781 kB / 0.8212 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.504e-05/0.5647, allocations: 76.73 kB / 0.8213 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5647, allocations: 1.188 kB / 0.8213 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001338/0.5648, allocations: 2.844 kB / 0.8213 GB, free: 14.03 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.0003593/0.5651, allocations: 0.6959 MB / 0.8219 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.5653, allocations: 39.8 kB / 0.822 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.5653, allocations: 0 / 0.822 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.5653, allocations: 19.92 kB / 0.822 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.5656, allocations: 4.266 kB / 0.822 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.5659, allocations: 140.8 kB / 0.8221 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.944e-05/0.5659, allocations: 64.67 kB / 0.8222 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.075e-05/0.566, allocations: 0 / 0.8222 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.566, allocations: 10.36 kB / 0.8222 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.566, allocations: 0 / 0.8222 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.5847, allocations: 1.821 MB / 0.824 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.561/7.146, allocations: 1.781 kB / 0.824 GB, free: 12.26 MB / 0.6198 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: 10.195689490064979] Failed to read output from testmodel.py, exit status != 0: 7.225097970571369 7.23879522 6.674719584 Calling exit ...