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.0007907/0.0007907, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001019/0.001019, allocations: 209.2 kB / 22.24 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.9676/0.9676, allocations: 230.6 MB / 256 MB, free: 9.598 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.7965/0.7965, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.001043/0.001043, allocations: 63.91 kB / 0.7182 GB, free: 4.211 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.206, allocations: 102 MB / 0.8178 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001737/0.2077, allocations: 0.644 MB / 0.8185 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0009677/0.2087, allocations: 0.851 MB / 0.8193 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.2087, allocations: 4 kB / 0.8193 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.2088, allocations: 3.938 kB / 0.8193 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.476e-05/0.2088, allocations: 3.938 kB / 0.8193 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.209, allocations: 11.98 kB / 0.8193 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.63e-05/0.2091, allocations: 19.94 kB / 0.8193 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2092, allocations: 11.98 kB / 0.8194 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.2092, allocations: 11.94 kB / 0.8194 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.842e-05/0.2093, allocations: 11.97 kB / 0.8194 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.2093, allocations: 4 kB / 0.8194 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.207e-05/0.2093, allocations: 8 kB / 0.8194 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.2094, allocations: 0 / 0.8194 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.2094, allocations: 11.94 kB / 0.8194 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.2095, allocations: 32.05 kB / 0.8194 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2095, allocations: 0 / 0.8194 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.275e-06/0.2095, allocations: 4 kB / 0.8194 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2095, allocations: 0 / 0.8194 GB, free: 12.5 MB / 0.6823 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.0003547/0.2099, allocations: 258.3 kB / 0.8197 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2099, allocations: 16.03 kB / 0.8197 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.2099, allocations: 30.75 kB / 0.8197 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.21, allocations: 8.828 kB / 0.8197 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/0.2101, allocations: 114.5 kB / 0.8198 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.2101, allocations: 384 / 0.8198 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.2101, allocations: 384 / 0.8198 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.2103, allocations: 50.23 kB / 0.8199 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2103, allocations: 3.938 kB / 0.8199 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2103, allocations: 4 kB / 0.8199 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2103, allocations: 0 / 0.8199 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.265e-05/0.2104, allocations: 35.95 kB / 0.8199 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.2107, allocations: 216 kB / 0.8201 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.493e-05/0.2108, allocations: 46.53 kB / 0.8202 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.2108, allocations: 16.91 kB / 0.8202 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.2108, allocations: 0 / 0.8202 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.2109, allocations: 38.55 kB / 0.8202 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2109, allocations: 4 kB / 0.8202 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002428/0.2111, allocations: 81.58 kB / 0.8203 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2111, allocations: 51.41 kB / 0.8204 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.838e-05/0.2112, allocations: 105.8 kB / 0.8205 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.2112, allocations: 25.7 kB / 0.8205 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.2113, allocations: 84.09 kB / 0.8206 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.2113, allocations: 7.938 kB / 0.8206 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.2113, allocations: 13.72 kB / 0.8206 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.2114, allocations: 319 kB / 0.8209 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.075e-05/0.2114, allocations: 19.98 kB / 0.8209 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.2115, allocations: 11.98 kB / 0.8209 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.421e-05/0.2116, allocations: 36.83 kB / 0.821 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2116, allocations: 7.938 kB / 0.821 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001127/0.2117, allocations: 81.61 kB / 0.821 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2117, allocations: 4 kB / 0.8211 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2117, allocations: 0 / 0.8211 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2117, allocations: 0 / 0.8211 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.929e-05/0.2118, allocations: 11.98 kB / 0.8211 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2118, allocations: 0 / 0.8211 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.2118, allocations: 7.984 kB / 0.8211 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-06/0.2118, allocations: 0 / 0.8211 GB, free: 10.63 MB / 0.6823 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 6.202e-05/0.2119, allocations: 113.7 kB / 0.8212 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.2119, allocations: 8.031 kB / 0.8212 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.212, allocations: 76.86 kB / 0.8213 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.212, allocations: 0 / 0.8213 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.212, allocations: 0 / 0.8213 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.212, allocations: 4 kB / 0.8213 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.2122, allocations: 128.7 kB / 0.8214 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2122, allocations: 0 / 0.8214 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.2122, allocations: 7.984 kB / 0.8214 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2122, allocations: 4.031 kB / 0.8214 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.2122, allocations: 4 kB / 0.8214 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2122, allocations: 0 / 0.8214 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2122, allocations: 0 / 0.8214 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.2124, allocations: 164.5 kB / 0.8216 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-06/0.2124, allocations: 3.953 kB / 0.8216 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.2124, allocations: 0 / 0.8216 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.2124, allocations: 7.984 kB / 0.8216 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.2125, allocations: 4.031 kB / 0.8216 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.2125, allocations: 7.938 kB / 0.8216 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.2125, allocations: 83.27 kB / 0.8217 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5e-08/0.2125, allocations: 0 / 0.8217 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001458/0.2126, allocations: 11.94 kB / 0.8217 GB, free: 9.941 MB / 0.6823 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.0003849/0.213, allocations: 0.6851 MB / 0.8223 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.2132, allocations: 40 kB / 0.8224 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2132, allocations: 0 / 0.8224 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.2132, allocations: 19.91 kB / 0.8224 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.2136, allocations: 8 kB / 0.8224 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.214, allocations: 139.9 kB / 0.8225 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.142e-05/0.2141, allocations: 67.2 kB / 0.8226 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.2141, allocations: 4.125 kB / 0.8226 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.2141, allocations: 7.438 kB / 0.8226 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of SimCode: time 9.22e-07/0.2141, allocations: 0 / 0.8226 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.2328, allocations: 1.827 MB / 0.8244 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.444/6.677, allocations: 8.5 kB / 0.8244 GB, free: 7.152 MB / 0.6823 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.996943620964885] Failed to read output from testmodel.py, exit status != 0: 6.757241868879646 7.077480794 6.865234848 Calling exit ...