Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009522/0.0009523, allocations: 171 kB / 325.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007409/0.0007413, allocations: 92 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003233, allocations: 9.25 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2183, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0006909/0.2191, allocations: 394.8 kB / 0.8966 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.2206, allocations: 1.511 MB / 0.8981 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.708e-05/0.2206, allocations: 0 / 0.8981 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.2206, allocations: 0 / 0.8981 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.2207, allocations: 7.938 kB / 0.8981 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.221, allocations: 95.75 kB / 0.8982 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.88e-05/0.2211, allocations: 31.84 kB / 0.8982 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.2211, allocations: 3.938 kB / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.2212, allocations: 19.92 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.847e-05/0.2212, allocations: 11.92 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.2213, allocations: 4 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.2216, allocations: 323.3 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.2216, allocations: 8 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.2217, allocations: 15.86 kB / 0.8986 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.2219, allocations: 183.7 kB / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2219, allocations: 0 / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2219, allocations: 0 / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.2219, allocations: 0 / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003932/0.2223, allocations: 367.4 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2224, allocations: 12.03 kB / 0.8991 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.73e-05/0.2224, allocations: 38.75 kB / 0.8991 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003319/0.2227, allocations: 72.86 kB / 0.8992 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.2228, allocations: 180.2 kB / 0.8994 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.2228, allocations: 8.312 kB / 0.8994 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.2229, allocations: 384 / 0.8994 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.2231, allocations: 85.77 kB / 0.8995 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2231, allocations: 3.984 kB / 0.8995 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.2231, allocations: 4 kB / 0.8995 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2232, allocations: 0 / 0.8995 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.2235, allocations: 83.91 kB / 0.8995 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.2236, allocations: 169.7 kB / 0.8997 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.2241, allocations: 150.4 kB / 0.8999 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.2242, allocations: 44.95 kB / 0.8999 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.2242, allocations: 3.984 kB / 0.8999 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.2243, allocations: 46.5 kB / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2243, allocations: 0 / 0.8999 GB, free: 64.09 MB / 0.6042 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003631/0.2279, allocations: 0.9497 MB / 0.9009 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.2279, allocations: 51.41 kB / 0.9009 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.994e-05/0.228, allocations: 109.8 kB / 0.901 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.228, allocations: 29.7 kB / 0.9011 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.909e-05/0.2281, allocations: 80.14 kB / 0.9011 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.2281, allocations: 31.55 kB / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.2281, allocations: 17.72 kB / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.29e-05/0.2282, allocations: 318.8 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.2285, allocations: 115.9 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.2289, allocations: 119.9 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.2296, allocations: 240.6 kB / 0.9019 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2296, allocations: 3.938 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007993/0.2304, allocations: 281.6 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2305, allocations: 7.938 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2305, allocations: 4 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2305, allocations: 4 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.2308, allocations: 67.92 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.2308, allocations: 0 / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.231, allocations: 44.7 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.231, allocations: 4 kB / 0.9023 GB, free: 61.57 MB / 0.6042 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 (9): * Single equations (assignments): 9 * 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.933e-05/0.2311, allocations: 117.8 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.2311, allocations: 7.906 kB / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.2311, allocations: 20.3 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2312, allocations: 0 / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2312, allocations: 0 / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2312, allocations: 0 / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.2326, allocations: 0.6641 MB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2326, allocations: 0 / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.2328, allocations: 67.98 kB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2329, allocations: 0 / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.2329, allocations: 4 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2329, allocations: 0 / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2329, allocations: 4.016 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/0.2337, allocations: 388.9 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.2337, allocations: 93 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.2337, allocations: 4 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.234, allocations: 47.95 kB / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.234, allocations: 15.86 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.2341, allocations: 4 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.2341, allocations: 91.27 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2341, allocations: 0 / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000249/0.2343, allocations: 40 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.001065/0.2354, allocations: 0.9445 MB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000791/0.2362, allocations: 251.7 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2362, allocations: 0 / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.2366, allocations: 132 kB / 0.9051 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.2368, allocations: 7.938 kB / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.2407, allocations: 2.311 MB / 0.9074 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.2408, allocations: 0.6848 MB / 0.9081 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.2409, allocations: 24.67 kB / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.241, allocations: 31.41 kB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.241, allocations: 3.938 kB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.2534, allocations: 2.488 MB / 0.9106 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.2536, allocations: 226.7 kB / 0.9108 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.82, allocations: 8.062 kB / 0.9108 GB, free: 52.79 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)