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.001616/0.001616, allocations: 72.45 kB / 19.02 MB, free: 1.105 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.001425/0.001425, allocations: 159.2 kB / 22.29 MB, free: 3.512 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 1.424/1.424, allocations: 177.2 MB / 202.7 MB, free: 4.812 MB / 186.7 MB " [Timeout remaining time 178] 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 1.236/1.236, allocations: 154.7 MB / 413.8 MB, free: 3.141 MB / 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.002117/0.002117, allocations: 66.86 kB / 0.6181 GB, free: 1.043 MB / 0.5105 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.2215/0.2237, allocations: 102 MB / 0.7177 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002/0.2257, allocations: 0.6364 MB / 0.7183 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2268, allocations: 0.8552 MB / 0.7192 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.2268, allocations: 0 / 0.7192 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.2269, allocations: 0 / 0.7192 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.227e-05/0.2269, allocations: 7.938 kB / 0.7192 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.2271, allocations: 11.98 kB / 0.7192 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.097e-05/0.2272, allocations: 27.92 kB / 0.7192 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.2273, allocations: 0 / 0.7192 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.2273, allocations: 23.86 kB / 0.7192 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.534e-05/0.2274, allocations: 11.97 kB / 0.7192 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.2274, allocations: 8 kB / 0.7193 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.242e-05/0.2274, allocations: 4 kB / 0.7193 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.2274, allocations: 4 kB / 0.7193 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.2275, allocations: 11.94 kB / 0.7193 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.2276, allocations: 28.12 kB / 0.7193 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2276, allocations: 0 / 0.7193 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.517e-06/0.2276, allocations: 4 kB / 0.7193 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2276, allocations: 0 / 0.7193 GB, free: 9.516 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.0004482/0.228, allocations: 258.3 kB / 0.7196 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2281, allocations: 12.03 kB / 0.7196 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.2281, allocations: 38.73 kB / 0.7196 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.716e-05/0.2282, allocations: 4.891 kB / 0.7196 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.2283, allocations: 114.5 kB / 0.7197 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2283, allocations: 384 / 0.7197 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.2284, allocations: 4.375 kB / 0.7197 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.2285, allocations: 46.23 kB / 0.7198 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2285, allocations: 7.875 kB / 0.7198 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2285, allocations: 4 kB / 0.7198 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.2286, allocations: 4 kB / 0.7198 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.2287, allocations: 35.95 kB / 0.7198 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.2291, allocations: 212.1 kB / 0.72 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.2292, allocations: 38.55 kB / 0.7201 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.091e-05/0.2293, allocations: 24.84 kB / 0.7201 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.2293, allocations: 0 / 0.7201 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.2293, allocations: 34.5 kB / 0.7201 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.2293, allocations: 0 / 0.7201 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003652/0.2297, allocations: 85.64 kB / 0.7202 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.2297, allocations: 51.41 kB / 0.7202 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.601e-05/0.2298, allocations: 109.8 kB / 0.7203 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2299, allocations: 25.7 kB / 0.7204 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.2299, allocations: 80.14 kB / 0.7204 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.2299, allocations: 7.891 kB / 0.7205 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.23, allocations: 17.72 kB / 0.7205 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2301, allocations: 311 kB / 0.7208 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.266e-05/0.2302, allocations: 23.97 kB / 0.7208 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.984e-05/0.2303, allocations: 19.92 kB / 0.7208 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.2305, allocations: 36.83 kB / 0.7208 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2305, allocations: 3.938 kB / 0.7208 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002111/0.2307, allocations: 73.67 kB / 0.7209 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2307, allocations: 4 kB / 0.7209 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2307, allocations: 0 / 0.7209 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2307, allocations: 0 / 0.7209 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.2308, allocations: 11.98 kB / 0.7209 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2308, allocations: 0 / 0.7209 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.2309, allocations: 4 kB / 0.7209 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.2309, allocations: 0 / 0.7209 GB, free: 7.648 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 0.0001045/0.231, allocations: 121.7 kB / 0.7211 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.231, allocations: 8.031 kB / 0.7211 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.2312, allocations: 68.97 kB / 0.7211 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2312, allocations: 0 / 0.7211 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2313, allocations: 0 / 0.7211 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2313, allocations: 0 / 0.7211 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.2314, allocations: 128.7 kB / 0.7212 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2314, allocations: 0 / 0.7212 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.2315, allocations: 7.984 kB / 0.7213 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2315, allocations: 0 / 0.7213 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2315, allocations: 16.03 kB / 0.7213 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2315, allocations: 0 / 0.7213 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2315, allocations: 0 / 0.7213 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.2318, allocations: 163.4 kB / 0.7214 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.2318, allocations: 3.953 kB / 0.7214 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.2318, allocations: 192 / 0.7214 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.2319, allocations: 11.98 kB / 0.7214 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.2319, allocations: 7.984 kB / 0.7214 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.2319, allocations: 7.969 kB / 0.7215 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.232, allocations: 79.28 kB / 0.7215 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.232, allocations: 0 / 0.7215 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002143/0.2322, allocations: 4 kB / 0.7215 GB, free: 6.961 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.0006106/0.2328, allocations: 0.6928 MB / 0.7222 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.233, allocations: 36 kB / 0.7222 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.233, allocations: 4 kB / 0.7223 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/0.2331, allocations: 19.92 kB / 0.7223 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.2334, allocations: 10.09 kB / 0.7223 GB, free: 6.172 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.2339, allocations: 147.3 kB / 0.7224 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.433e-05/0.234, allocations: 63.28 kB / 0.7225 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.234, allocations: 8.125 kB / 0.7225 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.2341, allocations: 8.5 kB / 0.7225 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2341, allocations: 0 / 0.7225 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.2672, allocations: 1.924 MB / 0.7244 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.53, allocations: 13.3 kB / 0.7244 GB, free: 4.059 MB / 0.6198 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.530172577986377] Failed to read output from testmodel.py, exit status != 0: 11.63086199600366 11.655526629 11.423188508 Calling exit ...