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.0009649/0.0009649, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001038/0.001038, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9117/0.9117, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7077/0.7077, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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: Performance of FrontEnd - loaded program: time 2.776e-06/2.776e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.664e-05, allocations: 5.234 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001496/0.001522, allocations: 0.6556 MB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.002448, allocations: 0.8432 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.002485, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.002513, allocations: 3.938 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.475e-05/0.002578, allocations: 3.938 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.002777, allocations: 15.88 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.002849, allocations: 27.92 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.002946, allocations: 11.97 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.063e-05/0.003017, allocations: 8 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.591e-05/0.003053, allocations: 15.92 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.003069, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.655e-05/0.003116, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.00313, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.003149, allocations: 4 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.003261, allocations: 31.88 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.003264, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.285e-06/0.003266, allocations: 4 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.003271, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 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.000372/0.003643, allocations: 258.3 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.003685, allocations: 12.03 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.003717, allocations: 30.75 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.003785, allocations: 4.891 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.101e-05/0.003866, allocations: 113.7 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.003878, allocations: 4.375 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.003887, allocations: 384 / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.004013, allocations: 50.23 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.00402, allocations: 4.188 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.004028, allocations: 384 / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.004034, allocations: 8.125 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.531e-05/0.004119, allocations: 27.97 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.004437, allocations: 208.1 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.903e-05/0.004536, allocations: 38.5 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.004583, allocations: 24.91 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.004602, allocations: 4 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.004627, allocations: 42.47 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.004628, allocations: 0 / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002328/0.004861, allocations: 81.61 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.004894, allocations: 59.33 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.004958, allocations: 101.9 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.004968, allocations: 25.7 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.005006, allocations: 84.27 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.005024, allocations: 3.953 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.005053, allocations: 21.7 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.00514, allocations: 310.8 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.69e-05/0.005187, allocations: 15.98 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.005223, allocations: 19.92 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.933e-05/0.005313, allocations: 40.81 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005315, allocations: 4.062 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001131/0.005428, allocations: 69.48 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.005446, allocations: 13.86 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.005451, allocations: 0 / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.005464, allocations: 0 / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.005533, allocations: 4 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.005537, allocations: 4 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.005565, allocations: 15.95 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.00557, allocations: 0 / 0.6214 GB, free: 10.09 MB / 0.5886 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.88e-05/0.005629, allocations: 110.8 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.005644, allocations: 7.938 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.005788, allocations: 68.92 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.005791, allocations: 3.984 kB / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.005796, allocations: 0 / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005798, allocations: 0 / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.005907, allocations: 124.8 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.005909, allocations: 8.031 kB / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.005938, allocations: 11.92 kB / 0.6217 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.005941, allocations: 3.938 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.005947, allocations: 0 / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.005948, allocations: 4 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.005949, allocations: 0 / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.006081, allocations: 163.5 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-06/0.006087, allocations: 3.938 kB / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.0061, allocations: 8.016 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.006137, allocations: 4 kB / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.006174, allocations: 7.984 kB / 0.6219 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.006179, allocations: 0 / 0.6219 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.794e-05/0.006207, allocations: 83.28 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006207, allocations: 0 / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001509/0.006358, allocations: 4 kB / 0.622 GB, free: 9.406 MB / 0.5886 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.0003375/0.006696, allocations: 0.6967 MB / 0.6227 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.006825, allocations: 35.95 kB / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.00683, allocations: 4 kB / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.006869, allocations: 15.92 kB / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.007119, allocations: 8 kB / 0.6227 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.007524, allocations: 133.4 kB / 0.6228 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.054e-05/0.007584, allocations: 67.28 kB / 0.6229 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.658e-05/0.007611, allocations: 3.938 kB / 0.6229 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.007659, allocations: 8.5 kB / 0.6229 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of SimCode: time 8.02e-07/0.00766, allocations: 0 / 0.6229 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.02508, allocations: 1.96 MB / 0.6248 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.55/6.575, allocations: 10.25 kB / 0.6248 GB, free: 6.527 MB / 0.5886 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 & /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: 9.27996948082] Failed to read output from testmodel.py, exit status != 0: 6.654895173385739 6.667155074 6.661697673 Calling exit ...