Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0009831/0.0009831, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.001126/0.001126, allocations: 213.7 kB / 22.26 MB, free: 3.688 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.9861/0.9861, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03917/0.03917, allocations: 12.18 MB / 324.6 MB, free: 6.27 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004993/0.0004993, allocations: 27.95 kB / 384.1 MB, free: 10.69 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.675/1.675, allocations: 353.8 MB / 0.7787 GB, free: 3.109 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.00156/0.00156, allocations: 122.9 kB / 1.06 GB, free: 24.82 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2277, allocations: 134.9 MB / 1.192 GB, free: 7.707 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001416/0.2291, allocations: 0.6537 MB / 1.192 GB, free: 7.055 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006884/0.2298, allocations: 0.8591 MB / 1.193 GB, free: 6.184 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.2299, allocations: 0 / 1.193 GB, free: 6.184 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.2299, allocations: 3.938 kB / 1.193 GB, free: 6.18 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.002e-05/0.2299, allocations: 0 / 1.193 GB, free: 6.18 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.2302, allocations: 15.94 kB / 1.193 GB, free: 6.164 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.838e-05/0.2302, allocations: 23.92 kB / 1.193 GB, free: 6.141 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.179e-05/0.2303, allocations: 19.91 kB / 1.193 GB, free: 6.121 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.412e-05/0.2304, allocations: 7.938 kB / 1.193 GB, free: 6.113 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.297e-05/0.2304, allocations: 11.98 kB / 1.193 GB, free: 6.102 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2304, allocations: 0 / 1.193 GB, free: 6.102 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.005e-05/0.2304, allocations: 4 kB / 1.193 GB, free: 6.098 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.2305, allocations: 4 kB / 1.193 GB, free: 6.094 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.2305, allocations: 11.94 kB / 1.193 GB, free: 6.082 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.078e-05/0.2306, allocations: 32.11 kB / 1.193 GB, free: 6.051 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2306, allocations: 3.984 kB / 1.193 GB, free: 6.047 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2306, allocations: 4 kB / 1.193 GB, free: 6.043 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2306, allocations: 0 / 1.193 GB, free: 6.043 MB / 0.823 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.0003745/0.231, allocations: 258.4 kB / 1.194 GB, free: 5.758 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.231, allocations: 8.031 kB / 1.194 GB, free: 5.75 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.499e-05/0.231, allocations: 30.75 kB / 1.194 GB, free: 5.711 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.2311, allocations: 8.891 kB / 1.194 GB, free: 5.703 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.677e-05/0.2312, allocations: 106.5 kB / 1.194 GB, free: 5.574 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2312, allocations: 4.312 kB / 1.194 GB, free: 5.57 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.2312, allocations: 8.375 kB / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.2313, allocations: 50.23 kB / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2313, allocations: 3.938 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.2313, allocations: 3.984 kB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.2313, allocations: 0 / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.997e-05/0.2314, allocations: 31.95 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.2317, allocations: 220.1 kB / 1.194 GB, free: 5.211 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.616e-05/0.2317, allocations: 42.44 kB / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.2318, allocations: 24.83 kB / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.2318, allocations: 0 / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.2318, allocations: 34.56 kB / 1.194 GB, free: 5.09 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/0.2318, allocations: 0 / 1.194 GB, free: 5.09 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002261/0.2321, allocations: 85.59 kB / 1.194 GB, free: 5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.2321, allocations: 55.34 kB / 1.194 GB, free: 4.934 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/0.2321, allocations: 101.9 kB / 1.194 GB, free: 4.824 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.2322, allocations: 25.7 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.2322, allocations: 84.08 kB / 1.195 GB, free: 4.707 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.2322, allocations: 11.94 kB / 1.195 GB, free: 4.695 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.2322, allocations: 17.84 kB / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.2323, allocations: 310.8 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.2323, allocations: 15.98 kB / 1.195 GB, free: 4.344 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.419e-05/0.2324, allocations: 23.97 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.079e-05/0.2324, allocations: 36.89 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2324, allocations: 3.938 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001488/0.2326, allocations: 73.59 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2326, allocations: 9.656 kB / 1.195 GB, free: 4.191 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2326, allocations: 0 / 1.195 GB, free: 4.191 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2326, allocations: 4 kB / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.851e-05/0.2327, allocations: 7.984 kB / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.2327, allocations: 0 / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.2327, allocations: 8.031 kB / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.2327, allocations: 0 / 1.195 GB, free: 4.172 MB / 0.823 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.065e-05/0.2328, allocations: 113.8 kB / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.2328, allocations: 0 / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.2329, allocations: 76.95 kB / 1.195 GB, free: 3.969 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2329, allocations: 0 / 1.195 GB, free: 3.969 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2329, allocations: 32 / 1.195 GB, free: 3.969 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2329, allocations: 4 kB / 1.195 GB, free: 3.965 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.682e-05/0.233, allocations: 128.7 kB / 1.195 GB, free: 3.797 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.233, allocations: 0 / 1.195 GB, free: 3.797 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.233, allocations: 15.92 kB / 1.195 GB, free: 3.781 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.233, allocations: 0 / 1.195 GB, free: 3.781 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-06/0.233, allocations: 0 / 1.195 GB, free: 3.781 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.233, allocations: 0 / 1.195 GB, free: 3.781 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.233, allocations: 7.922 kB / 1.195 GB, free: 3.773 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.2332, allocations: 171.4 kB / 1.196 GB, free: 3.59 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-06/0.2332, allocations: 0 / 1.196 GB, free: 3.59 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.2332, allocations: 4 kB / 1.196 GB, free: 3.586 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.2332, allocations: 7.984 kB / 1.196 GB, free: 3.578 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.2333, allocations: 0 / 1.196 GB, free: 3.578 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2333, allocations: 0 / 1.196 GB, free: 3.578 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.148e-05/0.2333, allocations: 87.27 kB / 1.196 GB, free: 3.492 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.2333, allocations: 4.031 kB / 1.196 GB, free: 3.488 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001371/0.2335, allocations: 4 kB / 1.196 GB, free: 3.484 MB / 0.823 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.0003012/0.2338, allocations: 0.6889 MB / 1.196 GB, free: 2.766 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.2339, allocations: 39.98 kB / 1.196 GB, free: 2.727 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2339, allocations: 0 / 1.196 GB, free: 2.727 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-05/0.2339, allocations: 23.92 kB / 1.196 GB, free: 2.703 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.2341, allocations: 4 kB / 1.196 GB, free: 2.699 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.2345, allocations: 143.9 kB / 1.197 GB, free: 2.52 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.2347, allocations: 0.6768 MB / 1.197 GB, free: 1.816 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.875e-05/0.2347, allocations: 0 / 1.197 GB, free: 1.816 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.2347, allocations: 11.77 kB / 1.197 GB, free: 1.805 MB / 0.823 GB Notification: Performance of SimCode: time 5.01e-07/0.2347, allocations: 3.938 kB / 1.197 GB, free: 1.801 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.2481, allocations: 1.402 MB / 1.199 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.21/6.458, allocations: 10.86 kB / 1.199 GB, free: 0.5195 MB / 0.823 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Acos.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.796292998827994] Failed to read output from testmodel.py, exit status != 0: 6.534340348094702 6.542577972 6.31042436 Calling exit ...